#8E021B

Closest named color: Dark Red (#8B0000). oklch(40.9% 0.164 22.7), rgb(142, 2, 27).

Aa

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

About this color

#8E021B is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.164 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.021 away. White text reads best on it, at 9.65:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.17:1
White text9.65:1

Values

HEX#8E021B
RGBrgb(142, 2, 27)
HSLhsl(349, 97%, 28%)
OKLCHoklch(40.9% 0.164 22.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 #8E021B 9.65:1 AAA Lc -94.5 Preferred for body text
Black text on #8E021B 2.17:1 Fails Lc 13.9 Not readable
#8E021B text on white 9.65:1 AAA Lc 90.0 Preferred for body text
#8E021B text on black 2.17:1 Fails Lc -12.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F9A8A4

    oklch(80.9% 0.096 22.5)

  5. Step 400

    400

    #F17573

    oklch(70.7% 0.153 22.7)

  6. Step 500

    500

    #E8484F

    oklch(63.1% 0.196 22.5)

  7. Step 600

    600

    #D31A32

    oklch(55.5% 0.212 22.8)

  8. Step 700

    700

    #B60125

    oklch(49% 0.197 22.7)

  9. Step 800

    800 (this color)

    #8E021B

    oklch(40.9% 0.164 22.7)

  10. Step 900

    900

    #77191F

    oklch(37.7% 0.128 22.8)

  11. Step 950

    950

    #461113

    oklch(26.9% 0.081 22.4)

Export this scale for Tailwind in the Tailwind colors tool

#8E021B 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)#38331A0.182
Deuteranopia (no green cones)#584E150.164
Tritanopia (no blue cones)#9D00100.034
Achromatopsia (no color)#4545450.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E021B

    #8E021B

    oklch(40.9% 0.164 22.7)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E021B

    #8E021B

    oklch(40.9% 0.164 22.7)

  • #860852

    #860852

    oklch(41% 0.164 352.9)

  • #743600

    #743600

    oklch(40.8% 0.104 52.5)

Open the analogous palette in the generator

Split complementary

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

  • #8E021B

    #8E021B

    oklch(40.9% 0.164 22.7)

  • #005846

    #005846

    oklch(41% 0.079 172.7)

  • #005170

    #005170

    oklch(40.9% 0.084 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E021B

    #8E021B

    oklch(40.9% 0.164 22.7)

  • #005B02

    #005B02

    oklch(40.8% 0.138 142.7)

  • #1440A1

    #1440A1

    oklch(40.9% 0.164 262.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E021B

    #8E021B

    oklch(40.9% 0.164 22.7)

  • #4B4F00

    #4B4F00

    oklch(41% 0.091 113.1)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

  • #512E99

    #512E99

    oklch(41% 0.164 292.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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