#871E42

Closest named color: Red Wine (#8C0034). oklch(42% 0.142 5.4), rgb(135, 30, 66).

Aa

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

About this color

#871E42 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.142 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.028 away. White text reads best on it, at 9.15:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.29:1
White text9.15:1

Values

HEX#871E42
RGBrgb(135, 30, 66)
HSLhsl(339, 64%, 32%)
OKLCHoklch(42% 0.142 5.4)

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 #871E42 9.15:1 AAA Lc -94.4 Preferred for body text
Black text on #871E42 2.29:1 Fails Lc 14.1 Not readable
#871E42 text on white 9.15:1 AAA Lc 89.9 Fine for body text
#871E42 text on black 2.29:1 Fails Lc -12.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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #EFABB9

    oklch(80.9% 0.082 5.5)

  5. Step 400

    400

    #E47B95

    oklch(70.7% 0.132 5.2)

  6. Step 500

    500

    #D9547B

    oklch(63% 0.17 5.2)

  7. Step 600

    600

    #C43364

    oklch(55.5% 0.184 5.3)

  8. Step 700

    700

    #A92453

    oklch(49.1% 0.17 5.4)

  9. Step 800

    800 (this color)

    #871E42

    oklch(42% 0.142 5.4)

  10. Step 900

    900

    #6F2239

    oklch(37.8% 0.11 5.8)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#871E42 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)#383B430.159
Deuteranopia (no green cones)#544F3F0.143
Tritanopia (no blue cones)#93042D0.038
Achromatopsia (no color)#4848480.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #871E42

    #871E42

    oklch(42% 0.142 5.4)

  • #005A53

    #005A53

    oklch(42.1% 0.074 185.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871E42

    #871E42

    oklch(42% 0.142 5.4)

  • #79266A

    #79266A

    oklch(42% 0.141 335.8)

  • #892405

    #892405

    oklch(42% 0.141 35.5)

Open the analogous palette in the generator

Split complementary

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

  • #871E42

    #871E42

    oklch(42% 0.142 5.4)

  • #005D33

    #005D33

    oklch(42% 0.104 155.2)

  • #005766

    #005766

    oklch(42% 0.074 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871E42

    #871E42

    oklch(42% 0.142 5.4)

  • #3F5600

    #3F5600

    oklch(41.9% 0.106 125.4)

  • #005183

    #005183

    oklch(42.1% 0.107 245.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871E42

    #871E42

    oklch(42% 0.142 5.4)

  • #5C4C00

    #5C4C00

    oklch(42% 0.086 95.1)

  • #005A53

    #005A53

    oklch(42.1% 0.074 185.7)

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #871E42 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.