#870D45

Closest named color: Red Purple (#820747). oklch(40.9% 0.157 1), rgb(135, 13, 69).

Aa

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

About this color

#870D45 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.157 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.66:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.17:1
White text9.66:1

Values

HEX#870D45
RGBrgb(135, 13, 69)
HSLhsl(332, 82%, 29%)
OKLCHoklch(40.9% 0.157 1)

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 #870D45 9.66:1 AAA Lc -95.1 Preferred for body text
Black text on #870D45 2.17:1 Fails Lc 13.3 Not readable
#870D45 text on white 9.66:1 AAA Lc 90.7 Preferred for body text
#870D45 text on black 2.17: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

    #F3A8BD

    oklch(80.9% 0.092 1)

  5. Step 400

    400

    #E9769B

    oklch(70.8% 0.147 1.1)

  6. Step 500

    500

    #DE4C83

    oklch(63.1% 0.187 0.9)

  7. Step 600

    600

    #C9246C

    oklch(55.5% 0.203 1)

  8. Step 700

    700

    #AE125A

    oklch(49.2% 0.19 1.2)

  9. Step 800

    800 (this color)

    #870D45

    oklch(40.9% 0.157 1)

  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

#870D45 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)#2F36460.179
Deuteranopia (no green cones)#4F4D420.160
Tritanopia (no blue cones)#9300290.049
Achromatopsia (no color)#4545450.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #870D45

    #870D45

    oklch(40.9% 0.157 1)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870D45

    #870D45

    oklch(40.9% 0.157 1)

  • #761C70

    #761C70

    oklch(40.9% 0.157 330.9)

  • #8B1202

    #8B1202

    oklch(40.8% 0.156 31.2)

Open the analogous palette in the generator

Split complementary

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

  • #870D45

    #870D45

    oklch(40.9% 0.157 1)

  • #005A29

    #005A29

    oklch(40.9% 0.11 151.2)

  • #005460

    #005460

    oklch(40.9% 0.071 211.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870D45

    #870D45

    oklch(40.9% 0.157 1)

  • #435200

    #435200

    oklch(41.1% 0.099 121)

  • #004F79

    #004F79

    oklch(40.9% 0.096 241.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870D45

    #870D45

    oklch(40.9% 0.157 1)

  • #5B4800

    #5B4800

    oklch(41% 0.084 91.5)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

  • #2E3D9D

    #2E3D9D

    oklch(41% 0.156 271)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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