#87181F

Closest named color: Dark Red (#8B0000). oklch(40.7% 0.145 23.8), rgb(135, 24, 31).

Aa

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

About this color

#87181F is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.145 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.63:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.18:1
White text9.63:1

Values

HEX#87181F
RGBrgb(135, 24, 31)
HSLhsl(356, 70%, 31%)
OKLCHoklch(40.7% 0.145 23.8)

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 #87181F 9.63:1 AAA Lc -95.2 Preferred for body text
Black text on #87181F 2.18:1 Fails Lc 13.1 Not readable
#87181F text on white 9.63:1 AAA Lc 90.8 Preferred for body text
#87181F text on black 2.18:1 Fails Lc -11.5 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

    #E97C77

    oklch(70.7% 0.135 23.8)

  6. Step 500

    500

    #DF5454

    oklch(63.1% 0.174 23.5)

  7. Step 600

    600

    #CA3238

    oklch(55.6% 0.188 24)

  8. Step 700

    700

    #AE222B

    oklch(49% 0.175 23.8)

  9. Step 800

    800 (this color)

    #87181F

    oklch(40.7% 0.145 23.8)

  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

#87181F 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)#3B361E0.159
Deuteranopia (no green cones)#564D1B0.145
Tritanopia (no blue cones)#95001C0.030
Achromatopsia (no color)#4545450.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #87181F

    #87181F

    oklch(40.7% 0.145 23.8)

  • #00545B

    #00545B

    oklch(40.7% 0.069 204.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87181F

    #87181F

    oklch(40.7% 0.145 23.8)

  • #80194F

    #80194F

    oklch(40.7% 0.145 354)

  • #733700

    #733700

    oklch(40.8% 0.103 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #87181F

    #87181F

    oklch(40.7% 0.145 23.8)

  • #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.

  • #87181F

    #87181F

    oklch(40.7% 0.145 23.8)

  • #005A0C

    #005A0C

    oklch(40.6% 0.132 143.8)

  • #1E4297

    #1E4297

    oklch(40.7% 0.146 263.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87181F

    #87181F

    oklch(40.7% 0.145 23.8)

  • #4A4E00

    #4A4E00

    oklch(40.6% 0.091 113.1)

  • #00545B

    #00545B

    oklch(40.7% 0.069 204.6)

  • #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 #87181F, closest first.

Similar named colors

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

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