#21161D

Closest named color: Rich Black (#0D1B2A). oklch(21.7% 0.022 340.6), rgb(33, 22, 29).

Aa

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

About this color

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

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

Values

HEX#21161D
RGBrgb(33, 22, 29)
HSLhsl(322, 20%, 11%)
OKLCHoklch(21.7% 0.022 340.6)

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 #21161D 17.54:1 AAA Lc -106.6 Preferred for body text
Black text on #21161D 1.19:1 Fails Lc 0.0 Not readable
#21161D text on white 17.54:1 AAA Lc 104.4 Preferred for body text
#21161D text on black 1.19: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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #E0D6DC

    oklch(88.6% 0.014 340.6)

  4. Step 300

    300

    #CDBAC6

    oklch(80.8% 0.027 339.5)

  5. Step 400

    400

    #B397A8

    oklch(70.7% 0.041 341.1)

  6. Step 500

    500

    #A07D93

    oklch(63% 0.053 340.7)

  7. Step 600

    600

    #8B667E

    oklch(55.6% 0.058 340.1)

  8. Step 700

    700

    #76556A

    oklch(49.1% 0.053 340.8)

  9. Step 800

    800

    #604656

    oklch(42.8% 0.043 341.6)

  10. Step 900

    900

    #4E3B47

    oklch(37.7% 0.033 340.6)

  11. Step 950

    950 (this color)

    #21161D

    oklch(21.7% 0.022 340.6)

Export this scale for Tailwind in the Tailwind colors tool

#21161D 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)#16181D0.023
Deuteranopia (no green cones)#191A1D0.020
Tritanopia (no blue cones)#2216180.010
Achromatopsia (no color)#1919190.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #21161D

    #21161D

    oklch(21.7% 0.022 340.6)

  • #111D17

    #111D17

    oklch(21.7% 0.021 162.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21161D

    #21161D

    oklch(21.7% 0.022 340.6)

  • #1D1722

    #1D1722

    oklch(21.7% 0.023 309.3)

  • #231617

    #231617

    oklch(21.8% 0.021 13.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #21161D

    #21161D

    oklch(21.7% 0.022 340.6)

  • #161C11

    #161C11

    oklch(21.6% 0.023 131.3)

  • #0D1D1C

    #0D1D1C

    oklch(21.6% 0.022 190.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21161D

    #21161D

    oklch(21.7% 0.022 340.6)

  • #1C1A0E

    #1C1A0E

    oklch(21.6% 0.022 99.9)

  • #0E1C21

    #0E1C21

    oklch(21.6% 0.022 222.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21161D

    #21161D

    oklch(21.7% 0.022 340.6)

  • #20180F

    #20180F

    oklch(21.6% 0.021 69.7)

  • #111D17

    #111D17

    oklch(21.7% 0.021 162.3)

  • #121B24

    #121B24

    oklch(21.8% 0.022 248.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21161D 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.