#1D170D

Closest named color: Dark Brown (#341C02). oklch(20.9% 0.021 80), rgb(29, 23, 13).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.18:1
White text17.78:1

Values

HEX#1D170D
RGBrgb(29, 23, 13)
HSLhsl(38, 38%, 8%)
OKLCHoklch(20.9% 0.021 80)

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 #1D170D 17.78:1 AAA Lc -106.8 Preferred for body text
Black text on #1D170D 1.18:1 Fails Lc 0.0 Not readable
#1D170D text on white 17.78:1 AAA Lc 104.6 Preferred for body text
#1D170D 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #ECE9E5

    oklch(93.5% 0.006 75.4)

  3. Step 200

    200

    #DED8CF

    oklch(88.4% 0.014 78.3)

  4. Step 300

    300

    #C9BFAF

    oklch(80.8% 0.025 79.7)

  5. Step 400

    400

    #AE9E86

    oklch(70.7% 0.039 78)

  6. Step 500

    500

    #9A8767

    oklch(63.2% 0.051 80.5)

  7. Step 600

    600

    #84704E

    oklch(55.6% 0.055 80.5)

  8. Step 700

    700

    #705E3F

    oklch(49.2% 0.051 80.7)

  9. Step 800

    800

    #5B4D34

    oklch(42.8% 0.043 81.6)

  10. Step 900

    900

    #4B402E

    oklch(37.8% 0.033 79.7)

  11. Step 950

    950 (this color)

    #1D170D

    oklch(20.9% 0.021 80)

Export this scale for Tailwind in the Tailwind colors tool

#1D170D 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)#1A170C0.007
Deuteranopia (no green cones)#1B180D0.005
Tritanopia (no blue cones)#1F15140.018
Achromatopsia (no color)#1818180.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D170D

    #1D170D

    oklch(20.9% 0.021 80)

  • #121822

    #121822

    oklch(20.8% 0.022 260.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D170D

    #1D170D

    oklch(20.9% 0.021 80)

  • #20150F

    #20150F

    oklch(20.8% 0.021 49.8)

  • #18190E

    #18190E

    oklch(20.9% 0.02 112.4)

Open the analogous palette in the generator

Split complementary

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

  • #1D170D

    #1D170D

    oklch(20.9% 0.021 80)

  • #0E1A20

    #0E1A20

    oklch(20.9% 0.021 230.7)

  • #181621

    #181621

    oklch(20.8% 0.022 292.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D170D

    #1D170D

    oklch(20.9% 0.021 80)

  • #0C1B1C

    #0C1B1C

    oklch(20.9% 0.021 201.2)

  • #1C151E

    #1C151E

    oklch(20.8% 0.02 318.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D170D

    #1D170D

    oklch(20.9% 0.021 80)

  • #0E1B16

    #0E1B16

    oklch(20.8% 0.021 168.2)

  • #121822

    #121822

    oklch(20.8% 0.022 260.5)

  • #1F1419

    #1F1419

    oklch(20.8% 0.02 350.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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