#1D170B

Closest named color: Dark Brown (#341C02). oklch(20.8% 0.024 83.9), rgb(29, 23, 11).

Aa

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

About this color

#1D170B is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.024. 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.80:1.

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

Values

HEX#1D170B
RGBrgb(29, 23, 11)
HSLhsl(40, 45%, 8%)
OKLCHoklch(20.8% 0.024 83.9)

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 #1D170B 17.80:1 AAA Lc -106.8 Preferred for body text
Black text on #1D170B 1.17:1 Fails Lc 0.0 Not readable
#1D170B text on white 17.80:1 AAA Lc 104.6 Preferred for body text
#1D170B text on black 1.17: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

    #DED8CE

    oklch(88.4% 0.015 80.7)

  4. Step 300

    300

    #C9BFAD

    oklch(80.8% 0.027 82.4)

  5. Step 400

    400

    #AE9F81

    oklch(70.8% 0.045 84.5)

  6. Step 500

    500

    #9A8762

    oklch(63.1% 0.057 83.7)

  7. Step 600

    600

    #857048

    oklch(55.5% 0.062 82.9)

  8. Step 700

    700

    #705E39

    oklch(49% 0.058 84.4)

  9. Step 800

    800

    #5B4D30

    oklch(42.7% 0.047 84.7)

  10. Step 900

    900

    #4B402A

    oklch(37.7% 0.038 84.2)

  11. Step 950

    950 (this color)

    #1D170B

    oklch(20.8% 0.024 83.9)

Export this scale for Tailwind in the Tailwind colors tool

#1D170B 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)#1A170A0.007
Deuteranopia (no green cones)#1B180B0.005
Tritanopia (no blue cones)#2015140.021
Achromatopsia (no color)#1818180.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D170B

    #1D170B

    oklch(20.8% 0.024 83.9)

  • #121823

    #121823

    oklch(20.8% 0.024 262.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D170B

    #1D170B

    oklch(20.8% 0.024 83.9)

  • #20150D

    #20150D

    oklch(20.7% 0.023 57.1)

  • #18190C

    #18190C

    oklch(20.8% 0.024 112)

Open the analogous palette in the generator

Split complementary

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

  • #1D170B

    #1D170B

    oklch(20.8% 0.024 83.9)

  • #0D1A21

    #0D1A21

    oklch(20.9% 0.023 232.9)

  • #181622

    #181622

    oklch(20.8% 0.024 291.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D170B

    #1D170B

    oklch(20.8% 0.024 83.9)

  • #091B1D

    #091B1D

    oklch(20.8% 0.024 204.9)

  • #1D141E

    #1D141E

    oklch(20.7% 0.024 323.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D170B

    #1D170B

    oklch(20.8% 0.024 83.9)

  • #0C1B17

    #0C1B17

    oklch(20.7% 0.022 175.1)

  • #121823

    #121823

    oklch(20.8% 0.024 262.3)

  • #211319

    #211319

    oklch(20.8% 0.025 352.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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