#0C201F

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.026 191.2), rgb(12, 32, 31).

Aa

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

About this color

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

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

Values

HEX#0C201F
RGBrgb(12, 32, 31)
HSLhsl(177, 45%, 9%)
OKLCHoklch(22.6% 0.026 191.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 #0C201F 16.90:1 AAA Lc -106.2 Preferred for body text
Black text on #0C201F 1.24:1 Fails Lc 0.0 Not readable
#0C201F text on white 16.90:1 AAA Lc 103.8 Preferred for body text
#0C201F text on black 1.24: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

    #E3ECEB

    oklch(93.6% 0.01 189.1)

  3. Step 200

    200

    #CDDDDC

    oklch(88.5% 0.017 192.3)

  4. Step 300

    300

    #ABC7C5

    oklch(80.8% 0.03 191.3)

  5. Step 400

    400

    #7DABA8

    oklch(70.7% 0.049 191.1)

  6. Step 500

    500

    #5A9693

    oklch(63.1% 0.063 191.6)

  7. Step 600

    600

    #3D807D

    oklch(55.5% 0.068 191.5)

  8. Step 700

    700

    #2E6C69

    oklch(49% 0.064 191)

  9. Step 800

    800

    #285856

    oklch(42.6% 0.052 191.8)

  10. Step 900

    900

    #254947

    oklch(37.8% 0.042 190.9)

  11. Step 950

    950 (this color)

    #0C201F

    oklch(22.6% 0.026 191.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C201F 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)#1E1E1F0.028
Deuteranopia (no green cones)#1B1C1F0.026
Tritanopia (no blue cones)#0321200.009
Achromatopsia (no color)#1D1D1D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C201F

    #0C201F

    oklch(22.6% 0.026 191.2)

  • #271719

    #271719

    oklch(22.7% 0.026 11.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C201F

    #0C201F

    oklch(22.6% 0.026 191.2)

  • #112018

    #112018

    oklch(22.7% 0.026 160.1)

  • #0D1F25

    #0D1F25

    oklch(22.7% 0.026 221.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C201F

    #0C201F

    oklch(22.6% 0.026 191.2)

  • #251720

    #251720

    oklch(22.7% 0.028 340.7)

  • #271813

    #271813

    oklch(22.7% 0.026 39.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C201F

    #0C201F

    oklch(22.6% 0.026 191.2)

  • #201925

    #201925

    oklch(22.7% 0.025 310.8)

  • #241A0E

    #241A0E

    oklch(22.7% 0.027 70.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C201F

    #0C201F

    oklch(22.6% 0.026 191.2)

  • #1A1B28

    #1A1B28

    oklch(22.7% 0.025 280.8)

  • #271719

    #271719

    oklch(22.7% 0.026 11.1)

  • #1F1D0E

    #1F1D0E

    oklch(22.8% 0.027 101.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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