#87151D

Closest named color: Dark Red (#8B0000). oklch(40.5% 0.148 24), rgb(135, 21, 29).

Aa

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

About this color

#87151D is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.148 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.022 away. White text reads best on it, at 9.74:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.148)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.15:1
White text9.74:1

Values

HEX#87151D
RGBrgb(135, 21, 29)
HSLhsl(356, 73%, 31%)
OKLCHoklch(40.5% 0.148 24)

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 #87151D 9.74:1 AAA Lc -95.4 Preferred for body text
Black text on #87151D 2.15:1 Fails Lc 13.0 Not readable
#87151D text on white 9.74:1 AAA Lc 91.0 Preferred for body text
#87151D text on black 2.15:1 Fails Lc -11.3 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

    #F8CECA

    oklch(88.6% 0.048 24.5)

  4. Step 300

    300

    #F4ABA6

    oklch(81% 0.087 23.5)

  5. Step 400

    400

    #EA7B76

    oklch(70.7% 0.138 23.8)

  6. Step 500

    500

    #E05352

    oklch(63.1% 0.177 24)

  7. Step 600

    600

    #CB3037

    oklch(55.6% 0.191 23.9)

  8. Step 700

    700

    #AF1F29

    oklch(49% 0.178 24)

  9. Step 800

    800 (this color)

    #87151D

    oklch(40.5% 0.148 24)

  10. Step 900

    900

    #732121

    oklch(37.8% 0.115 24.5)

  11. Step 950

    950

    #431514

    oklch(27% 0.072 24.4)

Export this scale for Tailwind in the Tailwind colors tool

#87151D 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)#3A341C0.162
Deuteranopia (no green cones)#564D180.148
Tritanopia (no blue cones)#95001A0.029
Achromatopsia (no color)#4444440.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #87151D

    #87151D

    oklch(40.5% 0.148 24)

  • #00535A

    #00535A

    oklch(40.3% 0.069 204.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87151D

    #87151D

    oklch(40.5% 0.148 24)

  • #80164E

    #80164E

    oklch(40.5% 0.148 354.2)

  • #713600

    #713600

    oklch(40.3% 0.101 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #87151D

    #87151D

    oklch(40.5% 0.148 24)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

  • #004F6F

    #004F6F

    oklch(40.3% 0.085 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87151D

    #87151D

    oklch(40.5% 0.148 24)

  • #005A0D

    #005A0D

    oklch(40.6% 0.132 144)

  • #1D4197

    #1D4197

    oklch(40.5% 0.147 263.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87151D

    #87151D

    oklch(40.5% 0.148 24)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #00535A

    #00535A

    oklch(40.3% 0.069 204.7)

  • #50318F

    #50318F

    oklch(40.5% 0.148 294)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87151D 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.