#0C201C

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.027 179.1), rgb(12, 32, 28).

Aa

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

About this color

#0C201C 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.038 away. White text reads best on it, at 16.94:1.

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

Values

HEX#0C201C
RGBrgb(12, 32, 28)
HSLhsl(168, 45%, 9%)
OKLCHoklch(22.5% 0.027 179.1)

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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E4ECEA

    oklch(93.6% 0.009 179.6)

  3. Step 200

    200

    #CDDDD9

    oklch(88.4% 0.018 179.3)

  4. Step 300

    300

    #ABC8C1

    oklch(80.9% 0.033 179.2)

  5. Step 400

    400

    #7DACA1

    oklch(70.8% 0.053 178.6)

  6. Step 500

    500

    #5A978A

    oklch(63.1% 0.067 178.9)

  7. Step 600

    600

    #3E8174

    oklch(55.5% 0.072 179.2)

  8. Step 700

    700

    #2F6D61

    oklch(49% 0.067 178.8)

  9. Step 800

    800

    #285950

    oklch(42.7% 0.055 179.9)

  10. Step 900

    900

    #264942

    oklch(37.7% 0.043 179.5)

  11. Step 950

    950 (this color)

    #0C201C

    oklch(22.5% 0.027 179.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C201C 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)#1F1E1C0.030
Deuteranopia (no green cones)#1B1C1C0.026
Tritanopia (no blue cones)#05211F0.008
Achromatopsia (no color)#1D1D1D0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C201C

    #0C201C

    oklch(22.5% 0.027 179.1)

  • #26161B

    #26161B

    oklch(22.4% 0.027 359.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C201C

    #0C201C

    oklch(22.5% 0.027 179.1)

  • #131F15

    #131F15

    oklch(22.4% 0.026 149.1)

  • #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°).

  • #0C201C

    #0C201C

    oklch(22.5% 0.027 179.1)

  • #231722

    #231722

    oklch(22.5% 0.028 329.3)

  • #271714

    #271714

    oklch(22.5% 0.027 31)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C201C

    #0C201C

    oklch(22.5% 0.027 179.1)

  • #1D1927

    #1D1927

    oklch(22.5% 0.027 297.3)

  • #25190F

    #25190F

    oklch(22.6% 0.026 60.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C201C

    #0C201C

    oklch(22.5% 0.027 179.1)

  • #171B29

    #171B29

    oklch(22.5% 0.028 271.7)

  • #26161B

    #26161B

    oklch(22.4% 0.027 359.2)

  • #211B0C

    #211B0C

    oklch(22.5% 0.028 88.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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