#840A15

Closest named color: Maroon (#800000). oklch(39.1% 0.152 25), rgb(132, 10, 21).

Aa

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

About this color

#840A15 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.152 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.019 away. White text reads best on it, at 10.31:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text2.03:1
White text10.31:1

Values

HEX#840A15
RGBrgb(132, 10, 21)
HSLhsl(355, 86%, 28%)
OKLCHoklch(39.1% 0.152 25)

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 #840A15 10.31:1 AAA Lc -96.3 Preferred for body text
Black text on #840A15 2.03:1 Fails Lc 11.9 Not readable
#840A15 text on white 10.31:1 AAA Lc 92.0 Preferred for body text
#840A15 text on black 2.03: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2DF

    oklch(93.6% 0.032 24.8)

  3. Step 200

    200

    #FFCAC5

    oklch(88.4% 0.061 24.6)

  4. Step 300

    300

    #FFA59D

    oklch(80.9% 0.108 25.3)

  5. Step 400

    400

    #FE6A64

    oklch(70.8% 0.182 25.2)

  6. Step 500

    500

    #F72D38

    oklch(63.2% 0.233 25)

  7. Step 600

    600

    #D80023

    oklch(55.6% 0.225 25)

  8. Step 700

    700

    #B7001C

    oklch(49.1% 0.199 25)

  9. Step 800

    800

    #970015

    oklch(42.6% 0.173 25)

  10. Step 900

    900 (this color)

    #840A15

    oklch(39.1% 0.152 25)

  11. Step 950

    950

    #4B090B

    oklch(27% 0.096 25.3)

Export this scale for Tailwind in the Tailwind colors tool

#840A15 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)#3630140.167
Deuteranopia (no green cones)#53490F0.150
Tritanopia (no blue cones)#9200110.030
Achromatopsia (no color)#4040400.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #840A15

    #840A15

    oklch(39.1% 0.152 25)

  • #004F56

    #004F56

    oklch(39% 0.067 205.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840A15

    #840A15

    oklch(39.1% 0.152 25)

  • #7D0C49

    #7D0C49

    oklch(39.1% 0.151 355.2)

  • #6B3400

    #6B3400

    oklch(39% 0.097 55)

Open the analogous palette in the generator

Split complementary

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

  • #840A15

    #840A15

    oklch(39.1% 0.152 25)

  • #005243

    #005243

    oklch(39.2% 0.074 174.9)

  • #004B6B

    #004B6B

    oklch(39% 0.083 235.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840A15

    #840A15

    oklch(39.1% 0.152 25)

  • #005512

    #005512

    oklch(39.1% 0.123 145)

  • #1C3C95

    #1C3C95

    oklch(39.2% 0.151 265)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840A15

    #840A15

    oklch(39.1% 0.152 25)

  • #444A00

    #444A00

    oklch(39% 0.088 115)

  • #004F56

    #004F56

    oklch(39% 0.067 205.1)

  • #4E2B8C

    #4E2B8C

    oklch(39.1% 0.152 295)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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