#870E5A

Closest named color: Red Purple (#820747). oklch(41.8% 0.165 349.2), rgb(135, 14, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.24:1
White text9.37:1

Values

HEX#870E5A
RGBrgb(135, 14, 90)
HSLhsl(322, 81%, 29%)
OKLCHoklch(41.8% 0.165 349.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 #870E5A 9.37:1 AAA Lc -94.4 Preferred for body text
Black text on #870E5A 2.24:1 Fails Lc 14.0 Not readable
#870E5A text on white 9.37:1 AAA Lc 90.0 Fine for body text
#870E5A text on black 2.24: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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F6CBDF

    oklch(88.5% 0.055 348.6)

  4. Step 300

    300

    #F0A7CA

    oklch(80.8% 0.096 349.2)

  5. Step 400

    400

    #E574AF

    oklch(70.6% 0.155 349.2)

  6. Step 500

    500

    #DA499C

    oklch(63% 0.198 349)

  7. Step 600

    600

    #C52086

    oklch(55.5% 0.214 349.2)

  8. Step 700

    700

    #AA0C72

    oklch(49.1% 0.2 349.1)

  9. Step 800

    800 (this color)

    #870E5A

    oklch(41.8% 0.165 349.2)

  10. Step 900

    900

    #6F1A4C

    oklch(37.6% 0.129 349)

  11. Step 950

    950

    #42112C

    oklch(27% 0.082 350)

Export this scale for Tailwind in the Tailwind colors tool

#870E5A 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)#27395C0.188
Deuteranopia (no green cones)#4B4E570.163
Tritanopia (no blue cones)#9201350.065
Achromatopsia (no color)#4646460.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #870E5A

    #870E5A

    oklch(41.8% 0.165 349.2)

  • #005B45

    #005B45

    oklch(41.9% 0.084 169.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870E5A

    #870E5A

    oklch(41.8% 0.165 349.2)

  • #712183

    #712183

    oklch(41.8% 0.165 319.5)

  • #910425

    #910425

    oklch(41.7% 0.165 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #870E5A

    #870E5A

    oklch(41.8% 0.165 349.2)

  • #1C5C00

    #1C5C00

    oklch(41.7% 0.132 139.2)

  • #00585B

    #00585B

    oklch(41.8% 0.071 198.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870E5A

    #870E5A

    oklch(41.8% 0.165 349.2)

  • #515000

    #515000

    oklch(41.8% 0.091 108.9)

  • #005470

    #005470

    oklch(41.7% 0.082 229.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870E5A

    #870E5A

    oklch(41.8% 0.165 349.2)

  • #654600

    #654600

    oklch(41.8% 0.087 79.8)

  • #005B45

    #005B45

    oklch(41.9% 0.084 169.3)

  • #0045A3

    #0045A3

    oklch(41.7% 0.164 259.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #870E5A 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.