#871817

Closest named color: Dark Red (#8B0000). oklch(40.6% 0.146 27.1), rgb(135, 24, 23).

Aa

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

About this color

#871817 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.146 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.020 away. White text reads best on it, at 9.66:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.146)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.17:1
White text9.66:1

Values

HEX#871817
RGBrgb(135, 24, 23)
HSLhsl(1, 71%, 31%)
OKLCHoklch(40.6% 0.146 27.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 #871817 9.66:1 AAA Lc -95.3 Preferred for body text
Black text on #871817 2.17:1 Fails Lc 13.1 Not readable
#871817 text on white 9.66:1 AAA Lc 90.9 Preferred for body text
#871817 text on black 2.17:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F7CEC8

    oklch(88.5% 0.047 27.8)

  4. Step 300

    300

    #F3ACA3

    oklch(80.9% 0.085 27.2)

  5. Step 400

    400

    #E97C71

    oklch(70.6% 0.136 27)

  6. Step 500

    500

    #DF554C

    oklch(63.1% 0.174 27)

  7. Step 600

    600

    #CB322E

    oklch(55.6% 0.19 27.1)

  8. Step 700

    700

    #AF2221

    oklch(49.1% 0.177 27)

  9. Step 800

    800 (this color)

    #871817

    oklch(40.6% 0.146 27.1)

  10. Step 900

    900

    #72221D

    oklch(37.7% 0.114 27.5)

  11. Step 950

    950

    #431512

    oklch(26.9% 0.072 26.7)

Export this scale for Tailwind in the Tailwind colors tool

#871817 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)#3C35150.158
Deuteranopia (no green cones)#574D120.143
Tritanopia (no blue cones)#95001A0.031
Achromatopsia (no color)#4545450.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #871817

    #871817

    oklch(40.6% 0.146 27.1)

  • #00545C

    #00545C

    oklch(40.7% 0.07 205.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871817

    #871817

    oklch(40.6% 0.146 27.1)

  • #81174A

    #81174A

    oklch(40.6% 0.146 357.2)

  • #703900

    #703900

    oklch(40.7% 0.098 57.2)

Open the analogous palette in the generator

Split complementary

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

  • #871817

    #871817

    oklch(40.6% 0.146 27.1)

  • #005649

    #005649

    oklch(40.5% 0.075 177.9)

  • #004F73

    #004F73

    oklch(40.5% 0.089 237.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871817

    #871817

    oklch(40.6% 0.146 27.1)

  • #005A1D

    #005A1D

    oklch(40.7% 0.121 147.1)

  • #264097

    #264097

    oklch(40.6% 0.146 267)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871817

    #871817

    oklch(40.6% 0.146 27.1)

  • #464F00

    #464F00

    oklch(40.5% 0.093 117)

  • #00545C

    #00545C

    oklch(40.7% 0.07 205.9)

  • #54308D

    #54308D

    oklch(40.6% 0.147 297.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #871817 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.