#871D42

Closest named color: Red Wine (#8C0034). oklch(41.9% 0.143 5.2), rgb(135, 29, 66).

Aa

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

About this color

#871D42 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.143 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.19:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.28:1
White text9.19:1

Values

HEX#871D42
RGBrgb(135, 29, 66)
HSLhsl(339, 65%, 32%)
OKLCHoklch(41.9% 0.143 5.2)

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 #871D42 9.19:1 AAA Lc -94.4 Preferred for body text
Black text on #871D42 2.28:1 Fails Lc 14.0 Not readable
#871D42 text on white 9.19:1 AAA Lc 90.0 Fine for body text
#871D42 text on black 2.28:1 Fails Lc -12.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

    #FDF2F4

    oklch(97% 0.012 4.7)

  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

    #F0AAB9

    oklch(80.8% 0.084 5)

  5. Step 400

    400

    #E57B95

    oklch(70.8% 0.133 5.4)

  6. Step 500

    500

    #DA547B

    oklch(63.2% 0.171 5.4)

  7. Step 600

    600

    #C53264

    oklch(55.6% 0.185 5.3)

  8. Step 700

    700

    #A92353

    oklch(49% 0.171 5.2)

  9. Step 800

    800 (this color)

    #871D42

    oklch(41.9% 0.143 5.2)

  10. Step 900

    900

    #6F2139

    oklch(37.7% 0.112 5.4)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#871D42 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)#373A430.161
Deuteranopia (no green cones)#534F3F0.145
Tritanopia (no blue cones)#93022D0.038
Achromatopsia (no color)#4848480.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

  • #005A52

    #005A52

    oklch(42% 0.074 184.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

  • #79256B

    #79256B

    oklch(42% 0.143 335.2)

  • #892304

    #892304

    oklch(41.9% 0.142 35.4)

Open the analogous palette in the generator

Split complementary

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

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

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

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

  • #3F5600

    #3F5600

    oklch(41.9% 0.106 125.4)

  • #005182

    #005182

    oklch(42% 0.105 244.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

  • #005A52

    #005A52

    oklch(42% 0.074 184.5)

  • #394098

    #394098

    oklch(41.8% 0.142 275)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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