#840D36

Closest named color: Red Wine (#8C0034). oklch(39.9% 0.151 9), rgb(132, 13, 54).

Aa

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

About this color

#840D36 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.151 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.017 away. White text reads best on it, at 10.03:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.09:1
White text10.03:1

Values

HEX#840D36
RGBrgb(132, 13, 54)
HSLhsl(339, 82%, 28%)
OKLCHoklch(39.9% 0.151 9)

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 #840D36 10.03:1 AAA Lc -95.9 Preferred for body text
Black text on #840D36 2.09:1 Fails Lc 12.4 Not readable
#840D36 text on white 10.03:1 AAA Lc 91.6 Preferred for body text
#840D36 text on black 2.09:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FFE1E5

    oklch(93.5% 0.033 8.6)

  3. Step 200

    200

    #FFC9D0

    oklch(88.5% 0.062 9.7)

  4. Step 300

    300

    #FFA2B1

    oklch(80.9% 0.111 9.4)

  5. Step 400

    400

    #FA6889

    oklch(70.7% 0.18 9)

  6. Step 500

    500

    #F22B6C

    oklch(63.1% 0.23 8.9)

  7. Step 600

    600

    #D40057

    oklch(55.7% 0.223 9.2)

  8. Step 700

    700

    #B30049

    oklch(49.1% 0.196 8.9)

  9. Step 800

    800

    #94003B

    oklch(42.7% 0.171 8.9)

  10. Step 900

    900 (this color)

    #840D36

    oklch(39.9% 0.151 9)

  11. Step 950

    950

    #4A081C

    oklch(27% 0.096 9.5)

Export this scale for Tailwind in the Tailwind colors tool

#840D36 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)#3233370.170
Deuteranopia (no green cones)#504A330.153
Tritanopia (no blue cones)#9100210.039
Achromatopsia (no color)#4242420.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #840D36

    #840D36

    oklch(39.9% 0.151 9)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840D36

    #840D36

    oklch(39.9% 0.151 9)

  • #771861

    #771861

    oklch(39.9% 0.151 339.3)

  • #7D2600

    #7D2600

    oklch(40% 0.127 39.2)

Open the analogous palette in the generator

Split complementary

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

  • #840D36

    #840D36

    oklch(39.9% 0.151 9)

  • #005635

    #005635

    oklch(40% 0.092 159.1)

  • #005062

    #005062

    oklch(39.9% 0.072 219.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840D36

    #840D36

    oklch(39.9% 0.151 9)

  • #355200

    #355200

    oklch(40% 0.106 129.2)

  • #00497F

    #00497F

    oklch(39.8% 0.11 249.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840D36

    #840D36

    oklch(39.9% 0.151 9)

  • #534700

    #534700

    oklch(39.8% 0.082 98.2)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

  • #3A3695

    #3A3695

    oklch(39.8% 0.151 278.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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