#8D040C

Closest named color: Dark Red (#8B0000). oklch(40.6% 0.163 27.2), rgb(141, 4, 12).

Aa

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

About this color

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

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

Values

HEX#8D040C
RGBrgb(141, 4, 12)
HSLhsl(356, 94%, 28%)
OKLCHoklch(40.6% 0.163 27.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 #8D040C 9.74:1 AAA Lc -94.7 Preferred for body text
Black text on #8D040C 2.15:1 Fails Lc 13.7 Not readable
#8D040C text on white 9.74:1 AAA Lc 90.3 Preferred for body text
#8D040C text on black 2.15:1 Fails Lc -12.0 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

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F8A99F

    oklch(80.9% 0.095 27.3)

  5. Step 400

    400

    #F1776B

    oklch(70.8% 0.152 27.3)

  6. Step 500

    500

    #E84B42

    oklch(63.2% 0.195 27.4)

  7. Step 600

    600

    #D31E21

    oklch(55.6% 0.212 27.2)

  8. Step 700

    700

    #B60713

    oklch(49% 0.197 27.2)

  9. Step 800

    800 (this color)

    #8D040C

    oklch(40.6% 0.163 27.2)

  10. Step 900

    900

    #771B17

    oklch(37.8% 0.127 27.6)

  11. Step 950

    950

    #46120F

    oklch(27% 0.08 27.1)

Export this scale for Tailwind in the Tailwind colors tool

#8D040C 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)#3932090.180
Deuteranopia (no green cones)#584E020.162
Tritanopia (no blue cones)#9C000B0.033
Achromatopsia (no color)#4444440.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D040C

    #8D040C

    oklch(40.6% 0.163 27.2)

  • #00545D

    #00545D

    oklch(40.8% 0.07 207.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D040C

    #8D040C

    oklch(40.6% 0.163 27.2)

  • #87044A

    #87044A

    oklch(40.7% 0.163 357.5)

  • #703900

    #703900

    oklch(40.7% 0.098 57.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D040C

    #8D040C

    oklch(40.6% 0.163 27.2)

  • #005649

    #005649

    oklch(40.5% 0.075 177.9)

  • #004F73

    #004F73

    oklch(40.5% 0.089 237.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D040C

    #8D040C

    oklch(40.6% 0.163 27.2)

  • #005A1D

    #005A1D

    oklch(40.7% 0.121 147.1)

  • #233DA0

    #233DA0

    oklch(40.7% 0.163 267.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D040C

    #8D040C

    oklch(40.6% 0.163 27.2)

  • #464F00

    #464F00

    oklch(40.5% 0.093 117)

  • #00545D

    #00545D

    oklch(40.8% 0.07 207.3)

  • #562B94

    #562B94

    oklch(40.7% 0.162 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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