#12161E

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.017 264.1), rgb(18, 22, 30).

Aa

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

About this color

#12161E 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.026 away. White text reads best on it, at 18.11:1.

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

Values

HEX#12161E
RGBrgb(18, 22, 30)
HSLhsl(220, 25%, 9%)
OKLCHoklch(20% 0.017 264.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 #12161E 18.11:1 AAA Lc -107.0 Preferred for body text
Black text on #12161E 1.15:1 Fails Lc 0.0 Not readable
#12161E text on white 18.11:1 AAA Lc 104.8 Preferred for body text
#12161E 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

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D5D9E1

    oklch(88.5% 0.012 264.5)

  4. Step 300

    300

    #BAC1CE

    oklch(80.9% 0.02 263)

  5. Step 400

    400

    #96A1B6

    oklch(70.7% 0.033 263.4)

  6. Step 500

    500

    #7D8AA4

    oklch(63.2% 0.042 264.2)

  7. Step 600

    600

    #66738F

    oklch(55.5% 0.046 265.4)

  8. Step 700

    700

    #556179

    oklch(49.2% 0.041 264.1)

  9. Step 800

    800

    #454F63

    oklch(42.7% 0.036 264.1)

  10. Step 900

    900

    #3A4250

    oklch(37.7% 0.026 261.6)

  11. Step 950

    950 (this color)

    #12161E

    oklch(20% 0.017 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#12161E 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)#13161E0.002
Deuteranopia (no green cones)#12151E0.004
Tritanopia (no blue cones)#0F18190.016
Achromatopsia (no color)#1616160.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #12161E

    #12161E

    oklch(20% 0.017 264.1)

  • #1A150D

    #1A150D

    oklch(19.9% 0.017 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12161E

    #12161E

    oklch(20% 0.017 264.1)

  • #0E171D

    #0E171D

    oklch(19.9% 0.018 238)

  • #16151D

    #16151D

    oklch(20.1% 0.016 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #12161E

    #12161E

    oklch(20% 0.017 264.1)

  • #1C140F

    #1C140F

    oklch(20% 0.016 53.5)

  • #16170E

    #16170E

    oklch(20% 0.017 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12161E

    #12161E

    oklch(20% 0.017 264.1)

  • #1D1312

    #1D1312

    oklch(19.9% 0.017 25.2)

  • #111811

    #111811

    oklch(19.9% 0.017 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12161E

    #12161E

    oklch(20% 0.017 264.1)

  • #1C1316

    #1C1316

    oklch(20% 0.016 356.8)

  • #1A150D

    #1A150D

    oklch(19.9% 0.017 79.2)

  • #0E1915

    #0E1915

    oklch(20.1% 0.018 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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