#12161F

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.019 266), rgb(18, 22, 31).

Aa

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

About this color

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

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

Values

HEX#12161F
RGBrgb(18, 22, 31)
HSLhsl(222, 27%, 10%)
OKLCHoklch(20% 0.019 266)

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 #12161F 18.09:1 AAA Lc -107.0 Preferred for body text
Black text on #12161F 1.16:1 Fails Lc 0.0 Not readable
#12161F text on white 18.09:1 AAA Lc 104.8 Preferred for body text
#12161F text on black 1.16: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

    #D5D9E2

    oklch(88.5% 0.013 266.7)

  4. Step 300

    300

    #BAC1D0

    oklch(81% 0.022 265.7)

  5. Step 400

    400

    #96A1B8

    oklch(70.8% 0.036 265.1)

  6. Step 500

    500

    #7C89A6

    oklch(63% 0.046 266.1)

  7. Step 600

    600

    #657392

    oklch(55.6% 0.051 265.8)

  8. Step 700

    700

    #54607C

    oklch(49% 0.048 266.6)

  9. Step 800

    800

    #454F65

    oklch(42.8% 0.039 265.7)

  10. Step 900

    900

    #3A4152

    oklch(37.6% 0.031 267.4)

  11. Step 950

    950 (this color)

    #12161F

    oklch(20% 0.019 266)

Export this scale for Tailwind in the Tailwind colors tool

#12161F 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)#13171F0.004
Deuteranopia (no green cones)#12151F0.004
Tritanopia (no blue cones)#0E18190.018
Achromatopsia (no color)#1616160.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #12161F

    #12161F

    oklch(20% 0.019 266)

  • #1A160C

    #1A160C

    oklch(20.2% 0.02 88.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12161F

    #12161F

    oklch(20% 0.019 266)

  • #0E181E

    #0E181E

    oklch(20.2% 0.019 235.3)

  • #17141E

    #17141E

    oklch(20% 0.02 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #12161F

    #12161F

    oklch(20% 0.019 266)

  • #1D140E

    #1D140E

    oklch(20.1% 0.019 55.1)

  • #16170D

    #16170D

    oklch(20% 0.019 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12161F

    #12161F

    oklch(20% 0.019 266)

  • #1E1312

    #1E1312

    oklch(20.1% 0.019 24.7)

  • #111911

    #111911

    oklch(20.2% 0.02 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12161F

    #12161F

    oklch(20% 0.019 266)

  • #1D1316

    #1D1316

    oklch(20.1% 0.017 359)

  • #1A160C

    #1A160C

    oklch(20.2% 0.02 88.7)

  • #0C1916

    #0C1916

    oklch(20% 0.019 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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