#870F27

Closest named color: Red Wine (#8C0034). oklch(40.2% 0.151 18.2), rgb(135, 15, 39).

Aa

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

About this color

#870F27 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.151 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.025 away. White text reads best on it, at 9.86:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.12:1
White text9.86:1

Values

HEX#870F27
RGBrgb(135, 15, 39)
HSLhsl(348, 80%, 29%)
OKLCHoklch(40.2% 0.151 18.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 #870F27 9.86:1 AAA Lc -95.5 Preferred for body text
Black text on #870F27 2.12:1 Fails Lc 12.8 Not readable
#870F27 text on white 9.86:1 AAA Lc 91.2 Preferred for body text
#870F27 text on black 2.12:1 Fails Lc -11.2 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F8CDCD

    oklch(88.5% 0.049 18.1)

  4. Step 300

    300

    #F4AAAB

    oklch(80.9% 0.088 18.3)

  5. Step 400

    400

    #EB797F

    oklch(70.7% 0.141 18)

  6. Step 500

    500

    #E1505E

    oklch(63.1% 0.18 18.4)

  7. Step 600

    600

    #CC2A45

    oklch(55.5% 0.196 18)

  8. Step 700

    700

    #B01936

    oklch(49% 0.182 18.3)

  9. Step 800

    800 (this color)

    #870F27

    oklch(40.2% 0.151 18.2)

  10. Step 900

    900

    #731E29

    oklch(37.6% 0.118 17.7)

  11. Step 950

    950

    #441418

    oklch(27.1% 0.074 18.7)

Export this scale for Tailwind in the Tailwind colors tool

#870F27 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)#3733270.167
Deuteranopia (no green cones)#544C230.153
Tritanopia (no blue cones)#95001A0.032
Achromatopsia (no color)#4343430.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #870F27

    #870F27

    oklch(40.2% 0.151 18.2)

  • #005356

    #005356

    oklch(40.2% 0.068 199)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870F27

    #870F27

    oklch(40.2% 0.151 18.2)

  • #7D1556

    #7D1556

    oklch(40.2% 0.151 348.1)

  • #753100

    #753100

    oklch(40.1% 0.109 48)

Open the analogous palette in the generator

Split complementary

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

  • #870F27

    #870F27

    oklch(40.2% 0.151 18.2)

  • #005640

    #005640

    oklch(40.3% 0.081 168.2)

  • #00506A

    #00506A

    oklch(40.3% 0.079 228.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870F27

    #870F27

    oklch(40.2% 0.151 18.2)

  • #1F5700

    #1F5700

    oklch(40.3% 0.125 138.2)

  • #004397

    #004397

    oklch(40.2% 0.15 258.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870F27

    #870F27

    oklch(40.2% 0.151 18.2)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

  • #005356

    #005356

    oklch(40.2% 0.068 199)

  • #483293

    #483293

    oklch(40.1% 0.152 288)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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