#1D170C

Closest named color: Dark Brown (#341C02). oklch(20.8% 0.022 82.1), rgb(29, 23, 12).

Aa

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

About this color

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

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

Values

HEX#1D170C
RGBrgb(29, 23, 12)
HSLhsl(39, 41%, 8%)
OKLCHoklch(20.8% 0.022 82.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 #1D170C 17.79:1 AAA Lc -106.8 Preferred for body text
Black text on #1D170C 1.18:1 Fails Lc 0.0 Not readable
#1D170C text on white 17.79:1 AAA Lc 104.6 Preferred for body text
#1D170C 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

    #ECE9E4

    oklch(93.5% 0.007 80.7)

  3. Step 200

    200

    #DED8CF

    oklch(88.4% 0.014 78.3)

  4. Step 300

    300

    #C9BFAE

    oklch(80.8% 0.026 81.1)

  5. Step 400

    400

    #AE9F83

    oklch(70.8% 0.043 83)

  6. Step 500

    500

    #9A8764

    oklch(63.2% 0.054 82.5)

  7. Step 600

    600

    #84704B

    oklch(55.5% 0.058 82.3)

  8. Step 700

    700

    #705E3C

    oklch(49.1% 0.055 82.7)

  9. Step 800

    800

    #5B4D32

    oklch(42.7% 0.045 83.3)

  10. Step 900

    900

    #4B402C

    oklch(37.7% 0.035 82.1)

  11. Step 950

    950 (this color)

    #1D170C

    oklch(20.8% 0.022 82.1)

Export this scale for Tailwind in the Tailwind colors tool

#1D170C 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)#1A170B0.007
Deuteranopia (no green cones)#1B180C0.005
Tritanopia (no blue cones)#2015140.020
Achromatopsia (no color)#1818180.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D170C

    #1D170C

    oklch(20.8% 0.022 82.1)

  • #121822

    #121822

    oklch(20.8% 0.022 260.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D170C

    #1D170C

    oklch(20.8% 0.022 82.1)

  • #20150E

    #20150E

    oklch(20.8% 0.022 53.6)

  • #18190D

    #18190D

    oklch(20.8% 0.022 112.2)

Open the analogous palette in the generator

Split complementary

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

  • #1D170C

    #1D170C

    oklch(20.8% 0.022 82.1)

  • #0D1A20

    #0D1A20

    oklch(20.9% 0.022 228.9)

  • #181621

    #181621

    oklch(20.8% 0.022 292.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D170C

    #1D170C

    oklch(20.8% 0.022 82.1)

  • #0B1B1C

    #0B1B1C

    oklch(20.9% 0.022 200.8)

  • #1D151E

    #1D151E

    oklch(21% 0.021 322.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D170C

    #1D170C

    oklch(20.8% 0.022 82.1)

  • #0D1B17

    #0D1B17

    oklch(20.8% 0.021 174.1)

  • #121822

    #121822

    oklch(20.8% 0.022 260.5)

  • #201419

    #201419

    oklch(20.9% 0.022 352.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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