#870C3F

Closest named color: Red Wine (#8C0034). oklch(40.7% 0.155 4.5), rgb(135, 12, 63).

Aa

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

About this color

#870C3F is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.155 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.019 away. White text reads best on it, at 9.74:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.15:1
White text9.74:1

Values

HEX#870C3F
RGBrgb(135, 12, 63)
HSLhsl(335, 84%, 29%)
OKLCHoklch(40.7% 0.155 4.5)

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 #870C3F 9.74:1 AAA Lc -95.2 Preferred for body text
Black text on #870C3F 2.15:1 Fails Lc 13.1 Not readable
#870C3F text on white 9.74:1 AAA Lc 90.8 Preferred for body text
#870C3F 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

    #F8CCD5

    oklch(88.6% 0.051 4.4)

  4. Step 300

    300

    #F3A8B9

    oklch(80.8% 0.091 4.4)

  5. Step 400

    400

    #EA7695

    oklch(70.7% 0.146 4.6)

  6. Step 500

    500

    #DF4C7B

    oklch(63% 0.186 4.6)

  7. Step 600

    600

    #CA2565

    oklch(55.6% 0.201 4.2)

  8. Step 700

    700

    #AF1353

    oklch(49.2% 0.188 4.8)

  9. Step 800

    800 (this color)

    #870C3F

    oklch(40.7% 0.155 4.5)

  10. Step 900

    900

    #721C3A

    oklch(37.7% 0.121 4)

  11. Step 950

    950

    #431222

    oklch(26.9% 0.077 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#870C3F 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)#3135400.176
Deuteranopia (no green cones)#504C3C0.158
Tritanopia (no blue cones)#9400250.047
Achromatopsia (no color)#4444440.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #870C3F

    #870C3F

    oklch(40.7% 0.155 4.5)

  • #00564E

    #00564E

    oklch(40.7% 0.072 184.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870C3F

    #870C3F

    oklch(40.7% 0.155 4.5)

  • #781A6B

    #781A6B

    oklch(40.8% 0.156 334.4)

  • #861D00

    #861D00

    oklch(40.7% 0.144 34.6)

Open the analogous palette in the generator

Split complementary

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

  • #870C3F

    #870C3F

    oklch(40.7% 0.155 4.5)

  • #00592F

    #00592F

    oklch(40.7% 0.102 154.3)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870C3F

    #870C3F

    oklch(40.7% 0.155 4.5)

  • #3E5200

    #3E5200

    oklch(40.7% 0.101 124.2)

  • #004D7C

    #004D7C

    oklch(40.6% 0.102 244.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870C3F

    #870C3F

    oklch(40.7% 0.155 4.5)

  • #584800

    #584800

    oklch(40.6% 0.083 94.4)

  • #00564E

    #00564E

    oklch(40.7% 0.072 184.1)

  • #343A9B

    #343A9B

    oklch(40.6% 0.155 274.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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