#21181A

Closest named color: Rich Black (#0D1B2A). oklch(22.1% 0.015 3.5), rgb(33, 24, 26).

Aa

White text reads best on this color (17.35:1).

About this color

#21181A is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.044 away. White text reads best on it, at 17.35:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.35:1

Values

HEX#21181A
RGBrgb(33, 24, 26)
HSLhsl(347, 16%, 11%)
OKLCHoklch(22.1% 0.015 3.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #21181A 17.35:1 AAA Lc -106.5 Preferred for body text
Black text on #21181A 1.21:1 Fails Lc 0.0 Not readable
#21181A text on white 17.35:1 AAA Lc 104.2 Preferred for body text
#21181A text on black 1.21:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE8E9

    oklch(93.5% 0.006 3.3)

  3. Step 200

    200

    #DFD6D8

    oklch(88.4% 0.01 2)

  4. Step 300

    300

    #CBBCBF

    oklch(80.9% 0.017 3.8)

  5. Step 400

    400

    #B19A9F

    oklch(70.8% 0.028 3.1)

  6. Step 500

    500

    #9D8187

    oklch(63.1% 0.035 3.7)

  7. Step 600

    600

    #886A71

    oklch(55.6% 0.039 2.9)

  8. Step 700

    700

    #73585E

    oklch(49% 0.037 3.7)

  9. Step 800

    800

    #5E484D

    oklch(42.7% 0.031 3.3)

  10. Step 900

    900

    #4D3D40

    oklch(37.8% 0.023 5.6)

  11. Step 950

    950 (this color)

    #21181A

    oklch(22.1% 0.015 3.5)

Export this scale for Tailwind in the Tailwind colors tool

#21181A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#19191A0.016
Deuteranopia (no green cones)#1B1B1A0.015
Tritanopia (no blue cones)#2317190.005
Achromatopsia (no color)#1A1A1A0.015

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #21181A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #21181A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.