#8C0417

Closest named color: Dark Red (#8B0000). oklch(40.5% 0.161 24.1), rgb(140, 4, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.14:1
White text9.79:1

Values

HEX#8C0417
RGBrgb(140, 4, 23)
HSLhsl(352, 94%, 28%)
OKLCHoklch(40.5% 0.161 24.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 #8C0417 9.79:1 AAA Lc -94.9 Preferred for body text
Black text on #8C0417 2.14:1 Fails Lc 13.5 Not readable
#8C0417 text on white 9.79:1 AAA Lc 90.5 Preferred for body text
#8C0417 text on black 2.14:1 Fails Lc -11.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FACCC8

    oklch(88.4% 0.053 24)

  4. Step 300

    300

    #F8A9A3

    oklch(81% 0.094 24.2)

  5. Step 400

    400

    #F07671

    oklch(70.7% 0.151 24.1)

  6. Step 500

    500

    #E74B4C

    oklch(63.2% 0.193 24.2)

  7. Step 600

    600

    #D21F2F

    oklch(55.6% 0.209 24)

  8. Step 700

    700

    #B60821

    oklch(49.2% 0.196 24.2)

  9. Step 800

    800 (this color)

    #8C0417

    oklch(40.5% 0.161 24.1)

  10. Step 900

    900

    #761B1E

    oklch(37.7% 0.125 24)

  11. Step 950

    950

    #461212

    oklch(27.1% 0.08 24.2)

Export this scale for Tailwind in the Tailwind colors tool

#8C0417 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)#3832160.179
Deuteranopia (no green cones)#574D100.161
Tritanopia (no blue cones)#9B000F0.033
Achromatopsia (no color)#4444440.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C0417

    #8C0417

    oklch(40.5% 0.161 24.1)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C0417

    #8C0417

    oklch(40.5% 0.161 24.1)

  • #84084F

    #84084F

    oklch(40.5% 0.161 353.9)

  • #723700

    #723700

    oklch(40.7% 0.102 54.3)

Open the analogous palette in the generator

Split complementary

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

  • #8C0417

    #8C0417

    oklch(40.5% 0.161 24.1)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

  • #005070

    #005070

    oklch(40.6% 0.085 233.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C0417

    #8C0417

    oklch(40.5% 0.161 24.1)

  • #005A0E

    #005A0E

    oklch(40.6% 0.131 144.1)

  • #193F9F

    #193F9F

    oklch(40.6% 0.162 264)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C0417

    #8C0417

    oklch(40.5% 0.161 24.1)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

  • #522D95

    #522D95

    oklch(40.6% 0.161 294.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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