#871C48

Closest named color: Red Purple (#820747). oklch(42% 0.145 1.2), rgb(135, 28, 72).

Aa

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

About this color

#871C48 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.145 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.027 away. White text reads best on it, at 9.17:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.28:1
White text9.17:1

Values

HEX#871C48
RGBrgb(135, 28, 72)
HSLhsl(335, 66%, 32%)
OKLCHoklch(42% 0.145 1.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 #871C48 9.17:1 AAA Lc -94.4 Preferred for body text
Black text on #871C48 2.28:1 Fails Lc 14.1 Not readable
#871C48 text on white 9.17:1 AAA Lc 89.9 Fine for body text
#871C48 text on black 2.28: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CDD7

    oklch(88.5% 0.047 1.3)

  4. Step 300

    300

    #F0AABD

    oklch(81% 0.085 1.4)

  5. Step 400

    400

    #E47A9B

    oklch(70.7% 0.135 1.3)

  6. Step 500

    500

    #D95383

    oklch(63.1% 0.173 1.2)

  7. Step 600

    600

    #C4306C

    oklch(55.5% 0.189 1.2)

  8. Step 700

    700

    #A9215A

    oklch(49.1% 0.175 1.4)

  9. Step 800

    800 (this color)

    #871C48

    oklch(42% 0.145 1.2)

  10. Step 900

    900

    #6F203E

    oklch(37.7% 0.114 1)

  11. Step 950

    950

    #411424

    oklch(26.9% 0.072 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#871C48 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)#353B490.164
Deuteranopia (no green cones)#524F460.146
Tritanopia (no blue cones)#93052F0.043
Achromatopsia (no color)#4848480.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #871C48

    #871C48

    oklch(42% 0.145 1.2)

  • #005A50

    #005A50

    oklch(42% 0.075 182)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871C48

    #871C48

    oklch(42% 0.145 1.2)

  • #772670

    #772670

    oklch(42.1% 0.145 331.4)

  • #8B2011

    #8B2011

    oklch(42% 0.145 31.3)

Open the analogous palette in the generator

Split complementary

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

  • #871C48

    #871C48

    oklch(42% 0.145 1.2)

  • #005D2B

    #005D2B

    oklch(41.9% 0.112 151.4)

  • #005764

    #005764

    oklch(41.9% 0.073 212.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871C48

    #871C48

    oklch(42% 0.145 1.2)

  • #455500

    #455500

    oklch(42.1% 0.101 121.4)

  • #00527D

    #00527D

    oklch(41.9% 0.098 241.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871C48

    #871C48

    oklch(42% 0.145 1.2)

  • #5E4B00

    #5E4B00

    oklch(42% 0.086 92.1)

  • #005A50

    #005A50

    oklch(42% 0.075 182)

  • #32429B

    #32429B

    oklch(42% 0.146 271.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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