#1F161A

Closest named color: Rich Black (#0D1B2A). oklch(21.3% 0.016 350.1), rgb(31, 22, 26).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.67:1

Values

HEX#1F161A
RGBrgb(31, 22, 26)
HSLhsl(333, 17%, 10%)
OKLCHoklch(21.3% 0.016 350.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 #1F161A 17.67:1 AAA Lc -106.7 Preferred for body text
Black text on #1F161A 1.18:1 Fails Lc 0.0 Not readable
#1F161A text on white 17.67:1 AAA Lc 104.5 Preferred for body text
#1F161A text on black 1.18: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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EA

    oklch(93.5% 0.006 350.8)

  3. Step 200

    200

    #DFD6DA

    oklch(88.4% 0.011 348.5)

  4. Step 300

    300

    #CBBCC2

    oklch(80.9% 0.019 351.3)

  5. Step 400

    400

    #B099A3

    oklch(70.6% 0.03 349.8)

  6. Step 500

    500

    #9D808D

    oklch(63.1% 0.04 349.6)

  7. Step 600

    600

    #876977

    oklch(55.5% 0.043 348.9)

  8. Step 700

    700

    #735864

    oklch(49.2% 0.04 350.2)

  9. Step 800

    800

    #5D4851

    oklch(42.7% 0.032 351)

  10. Step 900

    900

    #4D3C43

    oklch(37.7% 0.026 351.8)

  11. Step 950

    950 (this color)

    #1F161A

    oklch(21.3% 0.016 350.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F161A 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)#17181A0.017
Deuteranopia (no green cones)#19191A0.016
Tritanopia (no blue cones)#2016170.006
Achromatopsia (no color)#1818180.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F161A

    #1F161A

    oklch(21.3% 0.016 350.1)

  • #111C18

    #111C18

    oklch(21.4% 0.018 170.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F161A

    #1F161A

    oklch(21.3% 0.016 350.1)

  • #1C171E

    #1C171E

    oklch(21.4% 0.015 316.3)

  • #201616

    #201616

    oklch(21.3% 0.016 18.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F161A

    #1F161A

    oklch(21.3% 0.016 350.1)

  • #151B14

    #151B14

    oklch(21.3% 0.016 141.1)

  • #101B1C

    #101B1C

    oklch(21.2% 0.016 203.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F161A

    #1F161A

    oklch(21.3% 0.016 350.1)

  • #191A11

    #191A11

    oklch(21.4% 0.017 113)

  • #111B1F

    #111B1F

    oklch(21.4% 0.016 224.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F161A

    #1F161A

    oklch(21.3% 0.016 350.1)

  • #1D1811

    #1D1811

    oklch(21.3% 0.015 76)

  • #111C18

    #111C18

    oklch(21.4% 0.018 170.1)

  • #151921

    #151921

    oklch(21.3% 0.017 264.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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