#8F021F

Closest named color: Dark Red (#8B0000). oklch(41.2% 0.164 21.3), rgb(143, 2, 31).

Aa

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

About this color

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

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

Values

HEX#8F021F
RGBrgb(143, 2, 31)
HSLhsl(348, 97%, 28%)
OKLCHoklch(41.2% 0.164 21.3)

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 #8F021F 9.56:1 AAA Lc -94.3 Preferred for body text
Black text on #8F021F 2.19:1 Fails Lc 14.2 Not readable
#8F021F text on white 9.56:1 AAA Lc 89.8 Fine for body text
#8F021F text on black 2.19:1 Fails Lc -12.4 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

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #F9A8A5

    oklch(80.9% 0.096 21.7)

  5. Step 400

    400

    #F17576

    oklch(70.8% 0.153 21.2)

  6. Step 500

    500

    #E84852

    oklch(63.1% 0.196 21.4)

  7. Step 600

    600

    #D31837

    oklch(55.5% 0.213 21.1)

  8. Step 700

    700

    #B6002A

    oklch(49.1% 0.197 21.1)

  9. Step 800

    800 (this color)

    #8F021F

    oklch(41.2% 0.164 21.3)

  10. Step 900

    900

    #771921

    oklch(37.7% 0.128 21.6)

  11. Step 950

    950

    #461114

    oklch(27% 0.081 21.3)

Export this scale for Tailwind in the Tailwind colors tool

#8F021F 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)#38331E0.183
Deuteranopia (no green cones)#584F1A0.166
Tritanopia (no blue cones)#9E00120.035
Achromatopsia (no color)#4545450.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F021F

    #8F021F

    oklch(41.2% 0.164 21.3)

  • #00565B

    #00565B

    oklch(41.2% 0.07 201.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F021F

    #8F021F

    oklch(41.2% 0.164 21.3)

  • #860A55

    #860A55

    oklch(41.2% 0.164 351.4)

  • #763600

    #763600

    oklch(41.1% 0.106 51.6)

Open the analogous palette in the generator

Split complementary

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

  • #8F021F

    #8F021F

    oklch(41.2% 0.164 21.3)

  • #005945

    #005945

    oklch(41.3% 0.081 170.8)

  • #005270

    #005270

    oklch(41.2% 0.084 231.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F021F

    #8F021F

    oklch(41.2% 0.164 21.3)

  • #0E5B00

    #0E5B00

    oklch(41.1% 0.136 141.2)

  • #0C42A2

    #0C42A2

    oklch(41.2% 0.165 261.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F021F

    #8F021F

    oklch(41.2% 0.164 21.3)

  • #4D4F00

    #4D4F00

    oklch(41.2% 0.091 111.4)

  • #00565B

    #00565B

    oklch(41.2% 0.07 201.6)

  • #502F9B

    #502F9B

    oklch(41.2% 0.165 291.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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