#871A4C

Closest named color: Red Purple (#820747). oklch(42% 0.149 358.4), rgb(135, 26, 76).

Aa

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

About this color

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

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

Values

HEX#871A4C
RGBrgb(135, 26, 76)
HSLhsl(332, 68%, 32%)
OKLCHoklch(42% 0.149 358.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 #871A4C 9.20:1 AAA Lc -94.4 Preferred for body text
Black text on #871A4C 2.28:1 Fails Lc 14.1 Not readable
#871A4C text on white 9.20:1 AAA Lc 89.9 Fine for body text
#871A4C 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

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #F0A9C0

    oklch(80.9% 0.088 358.2)

  5. Step 400

    400

    #E4799F

    oklch(70.7% 0.138 358.7)

  6. Step 500

    500

    #D95188

    oklch(63.1% 0.177 358.4)

  7. Step 600

    600

    #C42E72

    oklch(55.6% 0.193 358.3)

  8. Step 700

    700

    #A91E5F

    oklch(49.1% 0.179 358.6)

  9. Step 800

    800 (this color)

    #871A4C

    oklch(42% 0.149 358.4)

  10. Step 900

    900

    #6F1F41

    oklch(37.7% 0.117 358.3)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#871A4C 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)#333B4D0.168
Deuteranopia (no green cones)#514F4A0.149
Tritanopia (no blue cones)#9304310.047
Achromatopsia (no color)#4848480.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #871A4C

    #871A4C

    oklch(42% 0.149 358.4)

  • #005A4D

    #005A4D

    oklch(41.9% 0.077 178.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871A4C

    #871A4C

    oklch(42% 0.149 358.4)

  • #762574

    #762574

    oklch(42% 0.149 328.9)

  • #8C1C16

    #8C1C16

    oklch(41.9% 0.148 28.5)

Open the analogous palette in the generator

Split complementary

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

  • #871A4C

    #871A4C

    oklch(42% 0.149 358.4)

  • #005E23

    #005E23

    oklch(42% 0.121 148.4)

  • #005862

    #005862

    oklch(42.1% 0.072 208.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871A4C

    #871A4C

    oklch(42% 0.149 358.4)

  • #485400

    #485400

    oklch(42% 0.099 118.8)

  • #00537A

    #00537A

    oklch(42% 0.094 238.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871A4C

    #871A4C

    oklch(42% 0.149 358.4)

  • #604A00

    #604A00

    oklch(42% 0.086 89.1)

  • #005A4D

    #005A4D

    oklch(41.9% 0.077 178.5)

  • #2C439D

    #2C439D

    oklch(42% 0.149 268.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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