#8D021F

Closest named color: Dark Red (#8B0000). oklch(40.8% 0.163 21), rgb(141, 2, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.16:1
White text9.71:1

Values

HEX#8D021F
RGBrgb(141, 2, 31)
HSLhsl(347, 97%, 28%)
OKLCHoklch(40.8% 0.163 21)

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 #8D021F 9.71:1 AAA Lc -94.7 Preferred for body text
Black text on #8D021F 2.16:1 Fails Lc 13.8 Not readable
#8D021F text on white 9.71:1 AAA Lc 90.2 Preferred for body text
#8D021F text on black 2.16:1 Fails Lc -12.1 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F8A8A6

    oklch(80.9% 0.095 20.9)

  5. Step 400

    400

    #F07577

    oklch(70.6% 0.152 20.7)

  6. Step 500

    500

    #E74953

    oklch(63.1% 0.194 21.2)

  7. Step 600

    600

    #D31B38

    oklch(55.7% 0.212 21.1)

  8. Step 700

    700

    #B6022B

    oklch(49.1% 0.197 20.9)

  9. Step 800

    800 (this color)

    #8D021F

    oklch(40.8% 0.163 21)

  10. Step 900

    900

    #771922

    oklch(37.7% 0.128 21)

  11. Step 950

    950

    #461114

    oklch(27% 0.081 21.3)

Export this scale for Tailwind in the Tailwind colors tool

#8D021F 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)#37321F0.181
Deuteranopia (no green cones)#574E1A0.165
Tritanopia (no blue cones)#9C00120.035
Achromatopsia (no color)#4444440.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D021F

    #8D021F

    oklch(40.8% 0.163 21)

  • #005559

    #005559

    oklch(40.9% 0.069 200.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D021F

    #8D021F

    oklch(40.8% 0.163 21)

  • #840A54

    #840A54

    oklch(40.8% 0.162 351.2)

  • #753500

    #753500

    oklch(40.8% 0.106 51.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D021F

    #8D021F

    oklch(40.8% 0.163 21)

  • #005744

    #005744

    oklch(40.7% 0.079 171.4)

  • #00516E

    #00516E

    oklch(40.8% 0.082 231)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D021F

    #8D021F

    oklch(40.8% 0.163 21)

  • #105A00

    #105A00

    oklch(40.8% 0.134 141)

  • #0A41A0

    #0A41A0

    oklch(40.8% 0.164 261.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D021F

    #8D021F

    oklch(40.8% 0.163 21)

  • #4C4E00

    #4C4E00

    oklch(40.8% 0.09 111.5)

  • #005559

    #005559

    oklch(40.9% 0.069 200.3)

  • #4E2F99

    #4E2F99

    oklch(40.8% 0.163 290.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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