#870C41

Closest named color: Red Purple (#820747). oklch(40.7% 0.156 3.3), rgb(135, 12, 65).

Aa

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

About this color

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

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

Values

HEX#870C41
RGBrgb(135, 12, 65)
HSLhsl(334, 84%, 29%)
OKLCHoklch(40.7% 0.156 3.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 #870C41 9.72:1 AAA Lc -95.2 Preferred for body text
Black text on #870C41 2.15:1 Fails Lc 13.2 Not readable
#870C41 text on white 9.72:1 AAA Lc 90.8 Preferred for body text
#870C41 text on black 2.15:1 Fails Lc -11.5 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD6

    oklch(88.5% 0.05 2.5)

  4. Step 300

    300

    #F3A8BA

    oklch(80.8% 0.091 3.6)

  5. Step 400

    400

    #E97697

    oklch(70.6% 0.145 3.3)

  6. Step 500

    500

    #DF4C7E

    oklch(63.1% 0.186 3.3)

  7. Step 600

    600

    #CA2467

    oklch(55.5% 0.203 3.3)

  8. Step 700

    700

    #AE1256

    oklch(49% 0.188 3.1)

  9. Step 800

    800 (this color)

    #870C41

    oklch(40.7% 0.156 3.3)

  10. Step 900

    900

    #721C3B

    oklch(37.7% 0.122 3.3)

  11. Step 950

    950

    #431223

    oklch(27% 0.077 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#870C41 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)#3035420.178
Deuteranopia (no green cones)#504C3E0.158
Tritanopia (no blue cones)#9400260.048
Achromatopsia (no color)#4444440.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #870C41

    #870C41

    oklch(40.7% 0.156 3.3)

  • #00564E

    #00564E

    oklch(40.7% 0.072 184.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870C41

    #870C41

    oklch(40.7% 0.156 3.3)

  • #771B6C

    #771B6C

    oklch(40.7% 0.155 333.5)

  • #881900

    #881900

    oklch(40.7% 0.149 33.3)

Open the analogous palette in the generator

Split complementary

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

  • #870C41

    #870C41

    oklch(40.7% 0.156 3.3)

  • #00592D

    #00592D

    oklch(40.7% 0.104 153.3)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870C41

    #870C41

    oklch(40.7% 0.156 3.3)

  • #3F5200

    #3F5200

    oklch(40.8% 0.101 123.6)

  • #004E7B

    #004E7B

    oklch(40.8% 0.1 243.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870C41

    #870C41

    oklch(40.7% 0.156 3.3)

  • #594800

    #594800

    oklch(40.7% 0.083 93.4)

  • #00564E

    #00564E

    oklch(40.7% 0.072 184.1)

  • #323B9C

    #323B9C

    oklch(40.7% 0.156 273.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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