Skip to main content

#2B0223 Aubergine

The nearest named color to #2B0223 is Aubergine (#3D0734).

#2B0223

Aubergine

What are the RGB, HSL, OKLCH and CMYK values of #2B0223?

HEX
#2B0223
RGB
rgb(43, 2, 35)
HSL
hsl(312, 91%, 9%)
OKLCH
oklch(20.0% 0.082 337)
CMYK
0, 95, 19, 83

#2B0223 has a contrast ratio of 18.49:1 against white and 1.14:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #2B0223
#2B0223
Same color
White
18.5AAA
Near-black
1.1Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #2B0223 · 18.5:1

Tints and shades of #2B0223

Same hue and chroma in OKLCH, lighter to darker.

  1. #FFF0FA
  2. #FAC1E9
  3. #D9A3CA
  4. #BA85AB
  5. #9B698D
  6. #7E4D71
  7. #613355
  8. #451A3B
  9. #2B0223

Colors that go with #2B0223

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Deep Purple, #3E0458 and Midnight Blue, #140458 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --aubergine-1: #2B0223; /* Aubergine */
}

Palettes, gradients and meshes with #2B0223

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).

Palettes (22)

Gradients (3)

Mesh gradients (4)