#870F46

Closest named color: Red Purple (#820747). oklch(41.1% 0.156 0.7), rgb(135, 15, 70).

Aa

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

About this color

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

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

Values

HEX#870F46
RGBrgb(135, 15, 70)
HSLhsl(333, 80%, 29%)
OKLCHoklch(41.1% 0.156 0.7)

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 #870F46 9.60:1 AAA Lc -95.0 Preferred for body text
Black text on #870F46 2.18:1 Fails Lc 13.4 Not readable
#870F46 text on white 9.60:1 AAA Lc 90.6 Preferred for body text
#870F46 text on black 2.18:1 Fails Lc -11.7 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

    #F2A8BD

    oklch(80.8% 0.091 0.8)

  5. Step 400

    400

    #E8769C

    oklch(70.7% 0.146 0.4)

  6. Step 500

    500

    #DE4C83

    oklch(63.1% 0.187 0.9)

  7. Step 600

    600

    #C9266D

    oklch(55.7% 0.202 0.8)

  8. Step 700

    700

    #AD145B

    oklch(49.1% 0.188 0.7)

  9. Step 800

    800 (this color)

    #870F46

    oklch(41.1% 0.156 0.7)

  10. Step 900

    900

    #711C3E

    oklch(37.7% 0.122 0.6)

  11. Step 950

    950

    #431224

    oklch(27% 0.078 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#870F46 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)#3037470.177
Deuteranopia (no green cones)#4F4D430.159
Tritanopia (no blue cones)#93002A0.049
Achromatopsia (no color)#4545450.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #870F46

    #870F46

    oklch(41.1% 0.156 0.7)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870F46

    #870F46

    oklch(41.1% 0.156 0.7)

  • #761D71

    #761D71

    oklch(41% 0.157 330.4)

  • #8C1306

    #8C1306

    oklch(41.1% 0.156 30.5)

Open the analogous palette in the generator

Split complementary

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

  • #870F46

    #870F46

    oklch(41.1% 0.156 0.7)

  • #005B28

    #005B28

    oklch(41.2% 0.112 150.6)

  • #005560

    #005560

    oklch(41.2% 0.071 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870F46

    #870F46

    oklch(41.1% 0.156 0.7)

  • #435200

    #435200

    oklch(41.1% 0.099 121)

  • #005079

    #005079

    oklch(41.2% 0.095 240.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870F46

    #870F46

    oklch(41.1% 0.156 0.7)

  • #5C4800

    #5C4800

    oklch(41.1% 0.084 90.5)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

  • #2E3E9D

    #2E3E9D

    oklch(41.2% 0.155 270.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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