#8E172A

Closest named color: Red Wine (#8C0034). oklch(42.2% 0.152 19.1), rgb(142, 23, 42).

Aa

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

About this color

#8E172A is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.152 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.029 away. White text reads best on it, at 9.10:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.30:1
White text9.10:1

Values

HEX#8E172A
RGBrgb(142, 23, 42)
HSLhsl(350, 72%, 32%)
OKLCHoklch(42.2% 0.152 19.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 #8E172A 9.10:1 AAA Lc -93.9 Preferred for body text
Black text on #8E172A 2.30:1 Fails Lc 14.6 Not readable
#8E172A text on white 9.10:1 AAA Lc 89.4 Fine for body text
#8E172A text on black 2.30:1 Fails Lc -12.8 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

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F5AAAA

    oklch(81% 0.089 19.2)

  5. Step 400

    400

    #EC787D

    oklch(70.7% 0.143 18.7)

  6. Step 500

    500

    #E24F5C

    oklch(63.1% 0.182 19)

  7. Step 600

    600

    #CD2942

    oklch(55.6% 0.197 19.1)

  8. Step 700

    700

    #B11834

    oklch(49.1% 0.184 19.1)

  9. Step 800

    800 (this color)

    #8E172A

    oklch(42.2% 0.152 19.1)

  10. Step 900

    900

    #741E27

    oklch(37.8% 0.119 19.3)

  11. Step 950

    950

    #441317

    oklch(26.9% 0.075 19)

Export this scale for Tailwind in the Tailwind colors tool

#8E172A 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)#3C382A0.169
Deuteranopia (no green cones)#5A51260.153
Tritanopia (no blue cones)#9D00200.032
Achromatopsia (no color)#4848480.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E172A

    #8E172A

    oklch(42.2% 0.152 19.1)

  • #00595C

    #00595C

    oklch(42.1% 0.072 198.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E172A

    #8E172A

    oklch(42.2% 0.152 19.1)

  • #841B5A

    #841B5A

    oklch(42.1% 0.152 349.1)

  • #7C3600

    #7C3600

    oklch(42.1% 0.113 49.2)

Open the analogous palette in the generator

Split complementary

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

  • #8E172A

    #8E172A

    oklch(42.2% 0.152 19.1)

  • #005C46

    #005C46

    oklch(42.2% 0.084 169.4)

  • #005572

    #005572

    oklch(42.1% 0.084 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E172A

    #8E172A

    oklch(42.2% 0.152 19.1)

  • #1D5D00

    #1D5D00

    oklch(42.1% 0.133 139.1)

  • #0C489E

    #0C489E

    oklch(42.1% 0.152 259.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E172A

    #8E172A

    oklch(42.2% 0.152 19.1)

  • #525100

    #525100

    oklch(42.2% 0.092 108.9)

  • #00595C

    #00595C

    oklch(42.1% 0.072 198.8)

  • #4F3799

    #4F3799

    oklch(42.1% 0.152 289.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8E172A 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.