#0C1D1D

Closest named color: Rich Black (#0D1B2A). oklch(21.6% 0.023 195.6), rgb(12, 29, 29).

Aa

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

About this color

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

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

Values

HEX#0C1D1D
RGBrgb(12, 29, 29)
HSLhsl(180, 41%, 8%)
OKLCHoklch(21.6% 0.023 195.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 #0C1D1D 17.36:1 AAA Lc -106.5 Preferred for body text
Black text on #0C1D1D 1.20:1 Fails Lc 0.0 Not readable
#0C1D1D text on white 17.36:1 AAA Lc 104.2 Preferred for body text
#0C1D1D 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E4EBEB

    oklch(93.5% 0.007 197)

  3. Step 200

    200

    #CEDCDC

    oklch(88.4% 0.015 196.9)

  4. Step 300

    300

    #ADC6C6

    oklch(80.8% 0.027 196.6)

  5. Step 400

    400

    #81A9A9

    oklch(70.6% 0.043 196.2)

  6. Step 500

    500

    #609494

    oklch(63% 0.055 195.8)

  7. Step 600

    600

    #457E7F

    oklch(55.5% 0.06 197)

  8. Step 700

    700

    #376B6B

    oklch(49.2% 0.056 195.5)

  9. Step 800

    800

    #2E5757

    oklch(42.7% 0.046 195.6)

  10. Step 900

    900

    #2A4848

    oklch(37.8% 0.036 195.7)

  11. Step 950

    950 (this color)

    #0C1D1D

    oklch(21.6% 0.023 195.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C1D1D 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)#1B1C1D0.024
Deuteranopia (no green cones)#18191D0.023
Tritanopia (no blue cones)#051E1D0.008
Achromatopsia (no color)#1A1A1A0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1D1D

    #0C1D1D

    oklch(21.6% 0.023 195.6)

  • #231516

    #231516

    oklch(21.5% 0.023 14.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1D1D

    #0C1D1D

    oklch(21.6% 0.023 195.6)

  • #0F1D17

    #0F1D17

    oklch(21.6% 0.023 165.5)

  • #0E1C22

    #0E1C22

    oklch(21.7% 0.023 227)

Open the analogous palette in the generator

Split complementary

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

  • #0C1D1D

    #0C1D1D

    oklch(21.6% 0.023 195.6)

  • #22151C

    #22151C

    oklch(21.6% 0.025 345.8)

  • #231611

    #231611

    oklch(21.6% 0.023 41.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1D1D

    #0C1D1D

    oklch(21.6% 0.023 195.6)

  • #1E1621

    #1E1621

    oklch(21.5% 0.024 316.7)

  • #20180E

    #20180E

    oklch(21.6% 0.022 72.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1D1D

    #0C1D1D

    oklch(21.6% 0.023 195.6)

  • #191824

    #191824

    oklch(21.6% 0.023 288.1)

  • #231516

    #231516

    oklch(21.5% 0.023 14.5)

  • #1B1A0E

    #1B1A0E

    oklch(21.5% 0.022 104)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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