#20171C

Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.017 344.2), rgb(32, 23, 28).

Aa

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

About this color

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

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

Values

HEX#20171C
RGBrgb(32, 23, 28)
HSLhsl(327, 16%, 11%)
OKLCHoklch(21.8% 0.017 344.2)

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 #20171C 17.48:1 AAA Lc -106.6 Preferred for body text
Black text on #20171C 1.20:1 Fails Lc 0.0 Not readable
#20171C text on white 17.48:1 AAA Lc 104.3 Preferred for body text
#20171C text on black 1.20: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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DFD6DB

    oklch(88.5% 0.012 342.7)

  4. Step 300

    300

    #CBBCC4

    oklch(81% 0.02 344.1)

  5. Step 400

    400

    #B099A5

    oklch(70.7% 0.032 345.1)

  6. Step 500

    500

    #9C8090

    oklch(63.1% 0.041 343.1)

  7. Step 600

    600

    #87697A

    oklch(55.6% 0.045 343.7)

  8. Step 700

    700

    #725766

    oklch(49% 0.042 344.3)

  9. Step 800

    800

    #5D4854

    oklch(42.8% 0.034 343.4)

  10. Step 900

    900

    #4C3C45

    oklch(37.7% 0.027 343.6)

  11. Step 950

    950 (this color)

    #20171C

    oklch(21.8% 0.017 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#20171C 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)#17191C0.019
Deuteranopia (no green cones)#1A1A1C0.015
Tritanopia (no blue cones)#2117190.006
Achromatopsia (no color)#1A1A1A0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #20171C

    #20171C

    oklch(21.8% 0.017 344.2)

  • #131D18

    #131D18

    oklch(21.9% 0.017 162.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20171C

    #20171C

    oklch(21.8% 0.017 344.2)

  • #1D1820

    #1D1820

    oklch(21.9% 0.017 312.8)

  • #211718

    #211718

    oklch(21.8% 0.016 11.8)

Open the analogous palette in the generator

Split complementary

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

  • #20171C

    #20171C

    oklch(21.8% 0.017 344.2)

  • #171C14

    #171C14

    oklch(21.8% 0.017 133.8)

  • #111D1C

    #111D1C

    oklch(21.9% 0.017 189.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20171C

    #20171C

    oklch(21.8% 0.017 344.2)

  • #1B1B11

    #1B1B11

    oklch(21.9% 0.018 107.8)

  • #111C20

    #111C20

    oklch(21.8% 0.018 222.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20171C

    #20171C

    oklch(21.8% 0.017 344.2)

  • #1F1911

    #1F1911

    oklch(21.8% 0.018 74.6)

  • #131D18

    #131D18

    oklch(21.9% 0.017 162.8)

  • #151B22

    #151B22

    oklch(21.9% 0.016 252.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20171C 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.