#870947

Closest named color: Red Purple (#820747). oklch(40.8% 0.16 359.6), rgb(135, 9, 71).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.16:1
White text9.72:1

Values

HEX#870947
RGBrgb(135, 9, 71)
HSLhsl(330, 88%, 28%)
OKLCHoklch(40.8% 0.16 359.6)

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 #870947 9.72:1 AAA Lc -95.1 Preferred for body text
Black text on #870947 2.16:1 Fails Lc 13.3 Not readable
#870947 text on white 9.72:1 AAA Lc 90.7 Preferred for body text
#870947 text on black 2.16:1 Fails Lc -11.6 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

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F7CCD8

    oklch(88.6% 0.051 359.6)

  4. Step 300

    300

    #F3A7BE

    oklch(80.8% 0.094 359.7)

  5. Step 400

    400

    #E9759D

    oklch(70.7% 0.149 359.8)

  6. Step 500

    500

    #DF4A86

    oklch(63.1% 0.191 359.4)

  7. Step 600

    600

    #CA216F

    oklch(55.6% 0.207 359.7)

  8. Step 700

    700

    #AE0E5D

    oklch(49.1% 0.193 359.6)

  9. Step 800

    800 (this color)

    #870947

    oklch(40.8% 0.16 359.6)

  10. Step 900

    900

    #721B3F

    oklch(37.8% 0.124 360)

  11. Step 950

    950

    #431225

    oklch(27% 0.078 359.8)

Export this scale for Tailwind in the Tailwind colors tool

#870947 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)#2E35480.181
Deuteranopia (no green cones)#4E4C440.162
Tritanopia (no blue cones)#9300290.053
Achromatopsia (no color)#4444440.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #870947

    #870947

    oklch(40.8% 0.16 359.6)

  • #00574B

    #00574B

    oklch(40.9% 0.075 179.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870947

    #870947

    oklch(40.8% 0.16 359.6)

  • #751B72

    #751B72

    oklch(40.8% 0.159 329.5)

  • #8C0D06

    #8C0D06

    oklch(40.8% 0.159 29.5)

Open the analogous palette in the generator

Split complementary

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

  • #870947

    #870947

    oklch(40.8% 0.16 359.6)

  • #005A25

    #005A25

    oklch(40.9% 0.113 149.7)

  • #00545F

    #00545F

    oklch(40.9% 0.071 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870947

    #870947

    oklch(40.8% 0.16 359.6)

  • #445100

    #445100

    oklch(40.9% 0.097 119.7)

  • #004F76

    #004F76

    oklch(40.7% 0.093 239.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870947

    #870947

    oklch(40.8% 0.16 359.6)

  • #5C4700

    #5C4700

    oklch(40.9% 0.084 89.3)

  • #00574B

    #00574B

    oklch(40.9% 0.075 179.2)

  • #2A3D9E

    #2A3D9E

    oklch(40.8% 0.158 269.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #870947 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.