#87171F

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

Aa

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

About this color

#87171F is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.146 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.025 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#87171F
RGBrgb(135, 23, 31)
HSLhsl(356, 71%, 31%)
OKLCHoklch(40.6% 0.146 23.6)

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 #87171F 9.66:1 AAA Lc -95.3 Preferred for body text
Black text on #87171F 2.17:1 Fails Lc 13.1 Not readable
#87171F text on white 9.66:1 AAA Lc 90.9 Preferred for body text
#87171F 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E2

    oklch(93.6% 0.024 23.9)

  3. Step 200

    200

    #F7CECA

    oklch(88.5% 0.047 24.6)

  4. Step 300

    300

    #F3ABA6

    oklch(80.8% 0.086 23.6)

  5. Step 400

    400

    #E97B77

    oklch(70.6% 0.137 23.3)

  6. Step 500

    500

    #DF5454

    oklch(63.1% 0.174 23.5)

  7. Step 600

    600

    #CB3139

    oklch(55.7% 0.19 23.5)

  8. Step 700

    700

    #AF212B

    oklch(49.2% 0.177 23.6)

  9. Step 800

    800 (this color)

    #87171F

    oklch(40.6% 0.146 23.6)

  10. Step 900

    900

    #722122

    oklch(37.7% 0.114 23.8)

  11. Step 950

    950

    #431515

    oklch(27% 0.072 23.2)

Export this scale for Tailwind in the Tailwind colors tool

#87171F 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)#3B351E0.159
Deuteranopia (no green cones)#564D1B0.146
Tritanopia (no blue cones)#95001B0.029
Achromatopsia (no color)#4444440.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #87171F

    #87171F

    oklch(40.6% 0.146 23.6)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87171F

    #87171F

    oklch(40.6% 0.146 23.6)

  • #80184F

    #80184F

    oklch(40.7% 0.146 353.8)

  • #723600

    #723600

    oklch(40.5% 0.102 53.4)

Open the analogous palette in the generator

Split complementary

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

  • #87171F

    #87171F

    oklch(40.6% 0.146 23.6)

  • #005746

    #005746

    oklch(40.7% 0.078 173.5)

  • #005070

    #005070

    oklch(40.6% 0.085 233.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87171F

    #87171F

    oklch(40.6% 0.146 23.6)

  • #005A0A

    #005A0A

    oklch(40.6% 0.133 143.6)

  • #1D4297

    #1D4297

    oklch(40.7% 0.146 263.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87171F

    #87171F

    oklch(40.6% 0.146 23.6)

  • #4A4E00

    #4A4E00

    oklch(40.6% 0.091 113.1)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

  • #50328F

    #50328F

    oklch(40.6% 0.146 293.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87171F 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.