#871B4B

Closest named color: Red Purple (#820747). oklch(42% 0.147 359.2), rgb(135, 27, 75).

Aa

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

About this color

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

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

Values

HEX#871B4B
RGBrgb(135, 27, 75)
HSLhsl(333, 67%, 32%)
OKLCHoklch(42% 0.147 359.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 #871B4B 9.17:1 AAA Lc -94.3 Preferred for body text
Black text on #871B4B 2.28:1 Fails Lc 14.1 Not readable
#871B4B text on white 9.17:1 AAA Lc 89.9 Fine for body text
#871B4B 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

    #F5CDD8

    oklch(88.6% 0.047 359.7)

  4. Step 300

    300

    #EFAABF

    oklch(80.9% 0.085 359.3)

  5. Step 400

    400

    #E4799E

    oklch(70.6% 0.138 359.2)

  6. Step 500

    500

    #D95287

    oklch(63.1% 0.176 359.1)

  7. Step 600

    600

    #C42F70

    oklch(55.6% 0.191 359.3)

  8. Step 700

    700

    #A91F5E

    oklch(49.1% 0.178 359.2)

  9. Step 800

    800 (this color)

    #871B4B

    oklch(42% 0.147 359.2)

  10. Step 900

    900

    #6F2040

    oklch(37.8% 0.115 359.4)

  11. Step 950

    950

    #411425

    oklch(26.9% 0.073 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#871B4B 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)#343B4C0.166
Deuteranopia (no green cones)#514F490.148
Tritanopia (no blue cones)#9305300.046
Achromatopsia (no color)#4848480.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #871B4B

    #871B4B

    oklch(42% 0.147 359.2)

  • #005A4E

    #005A4E

    oklch(41.9% 0.076 179.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871B4B

    #871B4B

    oklch(42% 0.147 359.2)

  • #762673

    #762673

    oklch(42.1% 0.147 329.4)

  • #8C1D15

    #8C1D15

    oklch(42% 0.148 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #871B4B

    #871B4B

    oklch(42% 0.147 359.2)

  • #005E26

    #005E26

    oklch(42.1% 0.118 149.3)

  • #005862

    #005862

    oklch(42.1% 0.072 208.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871B4B

    #871B4B

    oklch(42% 0.147 359.2)

  • #475400

    #475400

    oklch(42% 0.099 119.5)

  • #00537B

    #00537B

    oklch(42.1% 0.095 239.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871B4B

    #871B4B

    oklch(42% 0.147 359.2)

  • #604A00

    #604A00

    oklch(42% 0.086 89.1)

  • #005A4E

    #005A4E

    oklch(41.9% 0.076 179.6)

  • #2E439C

    #2E439C

    oklch(42.1% 0.147 269.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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