#12151D

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.017 268.8), rgb(18, 21, 29).

Aa

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

About this color

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

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

Values

HEX#12151D
RGBrgb(18, 21, 29)
HSLhsl(224, 23%, 9%)
OKLCHoklch(19.6% 0.017 268.8)

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 #12151D 18.24:1 AAA Lc -107.0 Preferred for body text
Black text on #12151D 1.15:1 Fails Lc 0.0 Not readable
#12151D text on white 18.24:1 AAA Lc 104.9 Preferred for body text
#12151D text on black 1.15: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D6D9E1

    oklch(88.5% 0.011 269.5)

  4. Step 300

    300

    #BBC0CE

    oklch(80.8% 0.02 270.2)

  5. Step 400

    400

    #98A0B5

    oklch(70.6% 0.032 269)

  6. Step 500

    500

    #7F89A3

    oklch(63.1% 0.041 268.6)

  7. Step 600

    600

    #68738E

    oklch(55.6% 0.044 267.6)

  8. Step 700

    700

    #576079

    oklch(49.1% 0.042 269.4)

  9. Step 800

    800

    #474F62

    oklch(42.8% 0.033 267.1)

  10. Step 900

    900

    #3C4150

    oklch(37.7% 0.027 270.6)

  11. Step 950

    950 (this color)

    #12151D

    oklch(19.6% 0.017 268.8)

Export this scale for Tailwind in the Tailwind colors tool

#12151D 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)#13161D0.004
Deuteranopia (no green cones)#12151D0.000
Tritanopia (no blue cones)#0F17180.016
Achromatopsia (no color)#1515150.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #12151D

    #12151D

    oklch(19.6% 0.017 268.8)

  • #18150C

    #18150C

    oklch(19.6% 0.018 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12151D

    #12151D

    oklch(19.6% 0.017 268.8)

  • #0E161C

    #0E161C

    oklch(19.5% 0.017 241.1)

  • #16141C

    #16141C

    oklch(19.7% 0.016 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #12151D

    #12151D

    oklch(19.6% 0.017 268.8)

  • #1B130E

    #1B130E

    oklch(19.5% 0.016 53.5)

  • #14160E

    #14160E

    oklch(19.5% 0.016 119.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12151D

    #12151D

    oklch(19.6% 0.017 268.8)

  • #1C1211

    #1C1211

    oklch(19.5% 0.017 25.2)

  • #101711

    #101711

    oklch(19.5% 0.016 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12151D

    #12151D

    oklch(19.6% 0.017 268.8)

  • #1C1215

    #1C1215

    oklch(19.7% 0.017 359.1)

  • #18150C

    #18150C

    oklch(19.6% 0.018 91.8)

  • #0D1815

    #0D1815

    oklch(19.7% 0.017 175.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12151D 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.