#870F5A

Closest named color: Mulberry (#920A4E). oklch(41.8% 0.164 349.3), rgb(135, 15, 90).

Aa

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

About this color

#870F5A is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.164 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.032 away. White text reads best on it, at 9.34:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.24:1
White text9.34:1

Values

HEX#870F5A
RGBrgb(135, 15, 90)
HSLhsl(323, 80%, 29%)
OKLCHoklch(41.8% 0.164 349.3)

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 #870F5A 9.34:1 AAA Lc -94.4 Preferred for body text
Black text on #870F5A 2.24:1 Fails Lc 14.0 Not readable
#870F5A text on white 9.34:1 AAA Lc 89.9 Fine for body text
#870F5A 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

    #F6CBDE

    oklch(88.4% 0.054 349.9)

  4. Step 300

    300

    #F0A7CA

    oklch(80.8% 0.096 349.2)

  5. Step 400

    400

    #E575AF

    oklch(70.7% 0.153 349.4)

  6. Step 500

    500

    #DA4A9B

    oklch(63.1% 0.196 349.5)

  7. Step 600

    600

    #C52186

    oklch(55.6% 0.213 349.3)

  8. Step 700

    700

    #AA0E72

    oklch(49.2% 0.199 349.2)

  9. Step 800

    800 (this color)

    #870F5A

    oklch(41.8% 0.164 349.3)

  10. Step 900

    900

    #6F1B4C

    oklch(37.7% 0.128 349.2)

  11. Step 950

    950

    #41122C

    oklch(27% 0.08 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#870F5A 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)#283A5C0.186
Deuteranopia (no green cones)#4B4E570.162
Tritanopia (no blue cones)#9202350.065
Achromatopsia (no color)#4747470.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #870F5A

    #870F5A

    oklch(41.8% 0.164 349.3)

  • #005B45

    #005B45

    oklch(41.9% 0.084 169.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870F5A

    #870F5A

    oklch(41.8% 0.164 349.3)

  • #712283

    #712283

    oklch(41.9% 0.164 319.5)

  • #910625

    #910625

    oklch(41.8% 0.164 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #870F5A

    #870F5A

    oklch(41.8% 0.164 349.3)

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

  • #870F5A

    #870F5A

    oklch(41.8% 0.164 349.3)

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

  • #870F5A

    #870F5A

    oklch(41.8% 0.164 349.3)

  • #654600

    #654600

    oklch(41.8% 0.087 79.8)

  • #005B45

    #005B45

    oklch(41.9% 0.084 169.3)

  • #0045A4

    #0045A4

    oklch(41.8% 0.165 259.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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