#12161D

Closest named color: Rich Black (#0D1B2A). oklch(19.9% 0.015 261.6), rgb(18, 22, 29).

Aa

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

About this color

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

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

Values

HEX#12161D
RGBrgb(18, 22, 29)
HSLhsl(218, 23%, 9%)
OKLCHoklch(19.9% 0.015 261.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 #12161D 18.13:1 AAA Lc -107.0 Preferred for body text
Black text on #12161D 1.15:1 Fails Lc 0.0 Not readable
#12161D text on white 18.13:1 AAA Lc 104.8 Preferred for body text
#12161D 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAED

    oklch(93.6% 0.005 258.3)

  3. Step 200

    200

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #BAC1CD

    oklch(80.9% 0.019 261.3)

  5. Step 400

    400

    #97A1B3

    oklch(70.7% 0.029 262.3)

  6. Step 500

    500

    #7D8AA1

    oklch(63.1% 0.038 261.9)

  7. Step 600

    600

    #66748C

    oklch(55.6% 0.041 261.2)

  8. Step 700

    700

    #556177

    oklch(49.1% 0.038 262.5)

  9. Step 800

    800

    #464F61

    oklch(42.7% 0.032 264.1)

  10. Step 900

    900

    #3A424F

    oklch(37.7% 0.025 260.1)

  11. Step 950

    950 (this color)

    #12161D

    oklch(19.9% 0.015 261.6)

Export this scale for Tailwind in the Tailwind colors tool

#12161D 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)#14161D0.004
Deuteranopia (no green cones)#13151D0.004
Tritanopia (no blue cones)#0F17180.013
Achromatopsia (no color)#1616160.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #12161D

    #12161D

    oklch(19.9% 0.015 261.6)

  • #19150E

    #19150E

    oklch(19.8% 0.015 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12161D

    #12161D

    oklch(19.9% 0.015 261.6)

  • #0F171C

    #0F171C

    oklch(19.9% 0.016 236)

  • #16151C

    #16151C

    oklch(20% 0.014 291.6)

Open the analogous palette in the generator

Split complementary

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

  • #12161D

    #12161D

    oklch(19.9% 0.015 261.6)

  • #1C1410

    #1C1410

    oklch(20% 0.015 47.9)

  • #16170F

    #16170F

    oklch(20.1% 0.015 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12161D

    #12161D

    oklch(19.9% 0.015 261.6)

  • #1C1313

    #1C1313

    oklch(19.8% 0.015 18.5)

  • #121811

    #121811

    oklch(20% 0.016 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12161D

    #12161D

    oklch(19.9% 0.015 261.6)

  • #1C1317

    #1C1317

    oklch(20% 0.017 350.3)

  • #19150E

    #19150E

    oklch(19.8% 0.015 81.5)

  • #0F1815

    #0F1815

    oklch(19.9% 0.015 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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