#870A54

Closest named color: Red Purple (#820747). oklch(41.4% 0.164 352.3), rgb(135, 10, 84).

Aa

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

About this color

#870A54 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.164 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.023 away. White text reads best on it, at 9.53:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.20:1
White text9.53:1

Values

HEX#870A54
RGBrgb(135, 10, 84)
HSLhsl(324, 86%, 28%)
OKLCHoklch(41.4% 0.164 352.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 #870A54 9.53:1 AAA Lc -94.7 Preferred for body text
Black text on #870A54 2.20:1 Fails Lc 13.7 Not readable
#870A54 text on white 9.53:1 AAA Lc 90.3 Preferred for body text
#870A54 text on black 2.20:1 Fails Lc -12.0 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EC

    oklch(93.7% 0.028 352)

  3. Step 200

    200

    #F6CBDD

    oklch(88.4% 0.054 351.2)

  4. Step 300

    300

    #F2A7C7

    oklch(81% 0.097 352.2)

  5. Step 400

    400

    #E774AA

    oklch(70.7% 0.154 352.3)

  6. Step 500

    500

    #DC4995

    oklch(63.1% 0.196 352.3)

  7. Step 600

    600

    #C71F7F

    oklch(55.5% 0.213 352.4)

  8. Step 700

    700

    #AC0A6C

    oklch(49.2% 0.199 352.2)

  9. Step 800

    800 (this color)

    #870A54

    oklch(41.4% 0.164 352.3)

  10. Step 900

    900

    #701A48

    oklch(37.7% 0.128 352.3)

  11. Step 950

    950

    #42112A

    oklch(26.9% 0.081 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#870A54 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)#2938560.187
Deuteranopia (no green cones)#4C4D510.163
Tritanopia (no blue cones)#9200310.062
Achromatopsia (no color)#4545450.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #870A54

    #870A54

    oklch(41.4% 0.164 352.3)

  • #005947

    #005947

    oklch(41.4% 0.08 172.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870A54

    #870A54

    oklch(41.4% 0.164 352.3)

  • #721E7E

    #721E7E

    oklch(41.3% 0.164 322.4)

  • #90041D

    #90041D

    oklch(41.4% 0.165 22.4)

Open the analogous palette in the generator

Split complementary

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

  • #870A54

    #870A54

    oklch(41.4% 0.164 352.3)

  • #025D00

    #025D00

    oklch(41.5% 0.141 142.3)

  • #00565C

    #00565C

    oklch(41.3% 0.07 203)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870A54

    #870A54

    oklch(41.4% 0.164 352.3)

  • #4D5000

    #4D5000

    oklch(41.5% 0.092 112.2)

  • #005271

    #005271

    oklch(41.2% 0.085 232.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870A54

    #870A54

    oklch(41.4% 0.164 352.3)

  • #624600

    #624600

    oklch(41.4% 0.085 82.4)

  • #005947

    #005947

    oklch(41.4% 0.08 172.8)

  • #1342A3

    #1342A3

    oklch(41.4% 0.165 262.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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