#870A46

Closest named color: Red Purple (#820747). oklch(40.8% 0.159 0.2), rgb(135, 10, 70).

Aa

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

About this color

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

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

Values

HEX#870A46
RGBrgb(135, 10, 70)
HSLhsl(331, 86%, 28%)
OKLCHoklch(40.8% 0.159 0.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 #870A46 9.71:1 AAA Lc -95.1 Preferred for body text
Black text on #870A46 2.16:1 Fails Lc 13.3 Not readable
#870A46 text on white 9.71:1 AAA Lc 90.7 Preferred for body text
#870A46 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

    #F7CCD7

    oklch(88.5% 0.05 1.1)

  4. Step 300

    300

    #F3A8BE

    oklch(81% 0.092 0.2)

  5. Step 400

    400

    #E9759C

    oklch(70.6% 0.148 0.3)

  6. Step 500

    500

    #DF4B84

    oklch(63.2% 0.189 0.5)

  7. Step 600

    600

    #CA226E

    oklch(55.6% 0.206 0.2)

  8. Step 700

    700

    #AE0F5C

    oklch(49.1% 0.192 0.1)

  9. Step 800

    800 (this color)

    #870A46

    oklch(40.8% 0.159 0.2)

  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

#870A46 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)#2E35470.181
Deuteranopia (no green cones)#4F4C430.160
Tritanopia (no blue cones)#9300290.051
Achromatopsia (no color)#4444440.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #870A46

    #870A46

    oklch(40.8% 0.159 0.2)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870A46

    #870A46

    oklch(40.8% 0.159 0.2)

  • #761B71

    #761B71

    oklch(40.9% 0.159 330.5)

  • #8C0E04

    #8C0E04

    oklch(40.8% 0.159 30.1)

Open the analogous palette in the generator

Split complementary

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

  • #870A46

    #870A46

    oklch(40.8% 0.159 0.2)

  • #005A26

    #005A26

    oklch(40.9% 0.112 150)

  • #00545F

    #00545F

    oklch(40.9% 0.071 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870A46

    #870A46

    oklch(40.8% 0.159 0.2)

  • #435100

    #435100

    oklch(40.8% 0.097 120.4)

  • #004F77

    #004F77

    oklch(40.8% 0.094 240.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870A46

    #870A46

    oklch(40.8% 0.159 0.2)

  • #5B4700

    #5B4700

    oklch(40.7% 0.083 90.3)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

  • #2C3C9E

    #2C3C9E

    oklch(40.8% 0.159 270.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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