#1F1213

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.022 14.1), rgb(31, 18, 19).

Aa

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

About this color

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

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

Values

HEX#1F1213
RGBrgb(31, 18, 19)
HSLhsl(355, 27%, 10%)
OKLCHoklch(20% 0.022 14.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 #1F1213 18.19:1 AAA Lc -107.0 Preferred for body text
Black text on #1F1213 1.15:1 Fails Lc 0.0 Not readable
#1F1213 text on white 18.19:1 AAA Lc 104.8 Preferred for body text
#1F1213 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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #EFE8E8

    oklch(93.6% 0.008 17.3)

  3. Step 200

    200

    #E2D5D6

    oklch(88.4% 0.014 12.1)

  4. Step 300

    300

    #D1BABB

    oklch(80.9% 0.026 14.7)

  5. Step 400

    400

    #B99799

    oklch(70.8% 0.041 14.2)

  6. Step 500

    500

    #A77D80

    oklch(63.2% 0.052 13.9)

  7. Step 600

    600

    #926669

    oklch(55.7% 0.057 14.6)

  8. Step 700

    700

    #7C5457

    oklch(49% 0.054 14.3)

  9. Step 800

    800

    #654547

    oklch(42.7% 0.044 15)

  10. Step 900

    900

    #523A3C

    oklch(37.6% 0.034 13.3)

  11. Step 950

    950 (this color)

    #1F1213

    oklch(20% 0.022 14.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F1213 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)#1414130.024
Deuteranopia (no green cones)#1716130.021
Tritanopia (no blue cones)#2111120.005
Achromatopsia (no color)#1515150.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F1213

    #1F1213

    oklch(20% 0.022 14.1)

  • #091919

    #091919

    oklch(19.9% 0.022 195.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1213

    #1F1213

    oklch(20% 0.022 14.1)

  • #1D1218

    #1D1218

    oklch(19.9% 0.021 345.3)

  • #1F130E

    #1F130E

    oklch(20.1% 0.022 43.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F1213

    #1F1213

    oklch(20% 0.022 14.1)

  • #0C1913

    #0C1913

    oklch(19.9% 0.022 163.6)

  • #0A181D

    #0A181D

    oklch(19.9% 0.022 223)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1213

    #1F1213

    oklch(20% 0.022 14.1)

  • #12180E

    #12180E

    oklch(19.9% 0.021 133.2)

  • #0F1720

    #0F1720

    oklch(20.1% 0.022 251.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1213

    #1F1213

    oklch(20% 0.022 14.1)

  • #18170B

    #18170B

    oklch(20.2% 0.022 104.1)

  • #091919

    #091919

    oklch(19.9% 0.022 195.5)

  • #151520

    #151520

    oklch(20.1% 0.022 284.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F1213 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.