#840E0C

Closest named color: Dark Red (#8B0000). oklch(39.2% 0.151 28.4), rgb(132, 14, 12).

Aa

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

About this color

#840E0C is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.151 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.015 away. White text reads best on it, at 10.24:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.04:1
White text10.24:1

Values

HEX#840E0C
RGBrgb(132, 14, 12)
HSLhsl(1, 83%, 28%)
OKLCHoklch(39.2% 0.151 28.4)

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 #840E0C 10.24:1 AAA Lc -96.2 Preferred for body text
Black text on #840E0C 2.04:1 Fails Lc 12.0 Not readable
#840E0C text on white 10.24:1 AAA Lc 92.0 Preferred for body text
#840E0C text on black 2.04:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FFE2DE

    oklch(93.5% 0.033 27.1)

  3. Step 200

    200

    #FFCBC3

    oklch(88.6% 0.06 28.4)

  4. Step 300

    300

    #FFA599

    oklch(80.8% 0.109 28)

  5. Step 400

    400

    #FD6B5D

    oklch(70.6% 0.181 28)

  6. Step 500

    500

    #F6312A

    oklch(63.1% 0.231 28.3)

  7. Step 600

    600

    #D9000B

    oklch(55.6% 0.228 28.4)

  8. Step 700

    700

    #B80008

    oklch(49.2% 0.201 28.3)

  9. Step 800

    800

    #980005

    oklch(42.7% 0.175 28.4)

  10. Step 900

    900 (this color)

    #840E0C

    oklch(39.2% 0.151 28.4)

  11. Step 950

    950

    #4B0A07

    oklch(27% 0.096 28.5)

Export this scale for Tailwind in the Tailwind colors tool

#840E0C 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)#3831090.164
Deuteranopia (no green cones)#544A030.148
Tritanopia (no blue cones)#9200100.030
Achromatopsia (no color)#4141410.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #840E0C

    #840E0C

    oklch(39.2% 0.151 28.4)

  • #004F59

    #004F59

    oklch(39.2% 0.068 209.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840E0C

    #840E0C

    oklch(39.2% 0.151 28.4)

  • #7F0C45

    #7F0C45

    oklch(39.3% 0.151 358.3)

  • #6A3700

    #6A3700

    oklch(39.4% 0.094 58.6)

Open the analogous palette in the generator

Split complementary

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

  • #840E0C

    #840E0C

    oklch(39.2% 0.151 28.4)

  • #005246

    #005246

    oklch(39.3% 0.072 178.5)

  • #004B6F

    #004B6F

    oklch(39.2% 0.088 238.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840E0C

    #840E0C

    oklch(39.2% 0.151 28.4)

  • #00551F

    #00551F

    oklch(39.2% 0.112 148.4)

  • #253A95

    #253A95

    oklch(39.2% 0.151 268.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840E0C

    #840E0C

    oklch(39.2% 0.151 28.4)

  • #414C00

    #414C00

    oklch(39.3% 0.092 118.8)

  • #004F59

    #004F59

    oklch(39.2% 0.068 209.4)

  • #522A8A

    #522A8A

    oklch(39.3% 0.151 298.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #840E0C 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.