#1B170A

Closest named color: Dark Brown (#341C02). oklch(20.5% 0.024 92.9), rgb(27, 23, 10).

Aa

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

About this color

#1B170A 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.059 away. White text reads best on it, at 17.89:1.

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

Values

HEX#1B170A
RGBrgb(27, 23, 10)
HSLhsl(46, 46%, 7%)
OKLCHoklch(20.5% 0.024 92.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 #1B170A 17.89:1 AAA Lc -106.8 Preferred for body text
Black text on #1B170A 1.17:1 Fails Lc 0.0 Not readable
#1B170A text on white 17.89:1 AAA Lc 104.6 Preferred for body text
#1B170A 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECEAE4

    oklch(93.7% 0.008 91.5)

  3. Step 200

    200

    #DDD9CE

    oklch(88.5% 0.015 90.2)

  4. Step 300

    300

    #C7C1AC

    oklch(81% 0.029 93.8)

  5. Step 400

    400

    #AAA080

    oklch(70.6% 0.046 92.8)

  6. Step 500

    500

    #968960

    oklch(63.1% 0.059 92.6)

  7. Step 600

    600

    #807347

    oklch(55.7% 0.064 93.5)

  8. Step 700

    700

    #6C6038

    oklch(49.1% 0.059 93.3)

  9. Step 800

    800

    #584E2F

    oklch(42.6% 0.048 92.2)

  10. Step 900

    900

    #48412A

    oklch(37.6% 0.038 93.2)

  11. Step 950

    950 (this color)

    #1B170A

    oklch(20.5% 0.024 92.9)

Export this scale for Tailwind in the Tailwind colors tool

#1B170A 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)#1A17090.003
Deuteranopia (no green cones)#1B180A0.004
Tritanopia (no blue cones)#1D15140.022
Achromatopsia (no color)#1717170.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B170A

    #1B170A

    oklch(20.5% 0.024 92.9)

  • #131722

    #131722

    oklch(20.6% 0.023 268.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B170A

    #1B170A

    oklch(20.5% 0.024 92.9)

  • #1F150B

    #1F150B

    oklch(20.6% 0.024 65.8)

  • #15190D

    #15190D

    oklch(20.5% 0.023 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B170A

    #1B170A

    oklch(20.5% 0.024 92.9)

  • #0D1921

    #0D1921

    oklch(20.6% 0.023 238.6)

  • #191520

    #191520

    oklch(20.6% 0.022 301.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B170A

    #1B170A

    oklch(20.5% 0.024 92.9)

  • #091A1E

    #091A1E

    oklch(20.5% 0.024 214.8)

  • #1E131C

    #1E131C

    oklch(20.5% 0.024 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B170A

    #1B170A

    oklch(20.5% 0.024 92.9)

  • #091B18

    #091B18

    oklch(20.6% 0.025 181.7)

  • #131722

    #131722

    oklch(20.6% 0.023 268.9)

  • #211316

    #211316

    oklch(20.7% 0.024 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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