#840D0C

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

Aa

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

About this color

#840D0C 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.27:1.

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

Values

HEX#840D0C
RGBrgb(132, 13, 12)
HSLhsl(1, 83%, 28%)
OKLCHoklch(39.2% 0.151 28.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 #840D0C 10.27:1 AAA Lc -96.2 Preferred for body text
Black text on #840D0C 2.04:1 Fails Lc 12.0 Not readable
#840D0C text on white 10.27:1 AAA Lc 92.0 Preferred for body text
#840D0C 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

    #F6302A

    oklch(63% 0.232 28.2)

  7. Step 600

    600

    #D9000D

    oklch(55.6% 0.228 28.2)

  8. Step 700

    700

    #B80009

    oklch(49.2% 0.201 28.2)

  9. Step 800

    800

    #980006

    oklch(42.7% 0.175 28.2)

  10. Step 900

    900 (this color)

    #840D0C

    oklch(39.2% 0.151 28.2)

  11. Step 950

    950

    #4B0A07

    oklch(27% 0.096 28.5)

Export this scale for Tailwind in the Tailwind colors tool

#840D0C 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)#3730090.166
Deuteranopia (no green cones)#5349030.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°).

  • #840D0C

    #840D0C

    oklch(39.2% 0.151 28.2)

  • #004F58

    #004F58

    oklch(39.1% 0.067 207.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840D0C

    #840D0C

    oklch(39.2% 0.151 28.2)

  • #7F0B45

    #7F0B45

    oklch(39.3% 0.152 358.3)

  • #693600

    #693600

    oklch(39.1% 0.093 58.2)

Open the analogous palette in the generator

Split complementary

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

  • #840D0C

    #840D0C

    oklch(39.2% 0.151 28.2)

  • #005246

    #005246

    oklch(39.3% 0.072 178.5)

  • #004B6E

    #004B6E

    oklch(39.2% 0.087 237.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840D0C

    #840D0C

    oklch(39.2% 0.151 28.2)

  • #00551E

    #00551E

    oklch(39.2% 0.113 148.1)

  • #243A95

    #243A95

    oklch(39.1% 0.152 268.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840D0C

    #840D0C

    oklch(39.2% 0.151 28.2)

  • #414C00

    #414C00

    oklch(39.3% 0.092 118.8)

  • #004F58

    #004F58

    oklch(39.1% 0.067 207.9)

  • #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 #840D0C, closest first.

Similar named colors

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

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