#0C201D

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.027 183), rgb(12, 32, 29).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text16.93:1

Values

HEX#0C201D
RGBrgb(12, 32, 29)
HSLhsl(171, 45%, 9%)
OKLCHoklch(22.6% 0.027 183)

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 #0C201D 16.93:1 AAA Lc -106.2 Preferred for body text
Black text on #0C201D 1.23:1 Fails Lc 0.0 Not readable
#0C201D text on white 16.93:1 AAA Lc 103.8 Preferred for body text
#0C201D text on black 1.23: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E4ECEA

    oklch(93.6% 0.009 179.6)

  3. Step 200

    200

    #CDDDDA

    oklch(88.5% 0.018 183.5)

  4. Step 300

    300

    #ABC8C2

    oklch(81% 0.032 181.6)

  5. Step 400

    400

    #7DABA3

    oklch(70.6% 0.051 182.9)

  6. Step 500

    500

    #5A978D

    oklch(63.2% 0.066 182.5)

  7. Step 600

    600

    #3E8177

    oklch(55.6% 0.07 182.7)

  8. Step 700

    700

    #2F6D64

    oklch(49.1% 0.066 182.7)

  9. Step 800

    800

    #285952

    oklch(42.8% 0.055 183.2)

  10. Step 900

    900

    #264944

    oklch(37.7% 0.042 183.9)

  11. Step 950

    950 (this color)

    #0C201D

    oklch(22.6% 0.027 183)

Export this scale for Tailwind in the Tailwind colors tool

#0C201D 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)#1E1E1D0.028
Deuteranopia (no green cones)#1B1C1D0.026
Tritanopia (no blue cones)#04211F0.008
Achromatopsia (no color)#1D1D1D0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C201D

    #0C201D

    oklch(22.6% 0.027 183)

  • #27171B

    #27171B

    oklch(22.7% 0.027 3.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C201D

    #0C201D

    oklch(22.6% 0.027 183)

  • #122016

    #122016

    oklch(22.7% 0.027 152.8)

  • #0B1F23

    #0B1F23

    oklch(22.5% 0.027 212.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C201D

    #0C201D

    oklch(22.6% 0.027 183)

  • #241721

    #241721

    oklch(22.6% 0.027 335)

  • #271714

    #271714

    oklch(22.5% 0.027 31)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C201D

    #0C201D

    oklch(22.6% 0.027 183)

  • #1E1926

    #1E1926

    oklch(22.5% 0.026 302)

  • #25190E

    #25190E

    oklch(22.5% 0.027 63.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C201D

    #0C201D

    oklch(22.6% 0.027 183)

  • #181B29

    #181B29

    oklch(22.6% 0.028 274.7)

  • #27171B

    #27171B

    oklch(22.7% 0.027 3.1)

  • #201C0D

    #201C0D

    oklch(22.7% 0.027 94.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C201D 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.