#1F1508

Closest named color: Dark Brown (#341C02). oklch(20.5% 0.028 72.7), rgb(31, 21, 8).

Aa

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

About this color

#1F1508 is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.055 away. White text reads best on it, at 17.96:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.16:1
White text17.96:1

Values

HEX#1F1508
RGBrgb(31, 21, 8)
HSLhsl(34, 59%, 8%)
OKLCHoklch(20.5% 0.028 72.7)

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 #1F1508 17.96:1 AAA Lc -106.9 Preferred for body text
Black text on #1F1508 1.16:1 Fails Lc 0.0 Not readable
#1F1508 text on white 17.96:1 AAA Lc 104.7 Preferred for body text
#1F1508 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E3

    oklch(93.6% 0.01 72.7)

  3. Step 200

    200

    #E1D7CC

    oklch(88.4% 0.019 70.2)

  4. Step 300

    300

    #CEBEAA

    oklch(80.9% 0.033 73.5)

  5. Step 400

    400

    #B69C7C

    oklch(70.8% 0.054 72.6)

  6. Step 500

    500

    #A3835B

    oklch(63.1% 0.068 72.3)

  7. Step 600

    600

    #8E6C40

    oklch(55.5% 0.074 72.4)

  8. Step 700

    700

    #795A32

    oklch(49.1% 0.069 72.1)

  9. Step 800

    800

    #624A2A

    oklch(42.7% 0.057 73.2)

  10. Step 900

    900

    #503E26

    oklch(37.7% 0.045 73.7)

  11. Step 950

    950 (this color)

    #1F1508

    oklch(20.5% 0.028 72.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F1508 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)#1915070.013
Deuteranopia (no green cones)#1B18080.013
Tritanopia (no blue cones)#2212120.025
Achromatopsia (no color)#1717170.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F1508

    #1F1508

    oklch(20.5% 0.028 72.7)

  • #0E1824

    #0E1824

    oklch(20.6% 0.028 253.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1508

    #1F1508

    oklch(20.5% 0.028 72.7)

  • #22130D

    #22130D

    oklch(20.5% 0.028 42.6)

  • #191808

    #191808

    oklch(20.5% 0.028 105.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F1508

    #1F1508

    oklch(20.5% 0.028 72.7)

  • #071A20

    #071A20

    oklch(20.5% 0.028 221)

  • #151524

    #151524

    oklch(20.4% 0.03 283.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1508

    #1F1508

    oklch(20.5% 0.028 72.7)

  • #051B1B

    #051B1B

    oklch(20.4% 0.028 195.2)

  • #1C1320

    #1C1320

    oklch(20.4% 0.029 315.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1508

    #1F1508

    oklch(20.5% 0.028 72.7)

  • #0A1B13

    #0A1B13

    oklch(20.4% 0.028 162.1)

  • #0E1824

    #0E1824

    oklch(20.6% 0.028 253.5)

  • #20121B

    #20121B

    oklch(20.5% 0.028 341)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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