#840B35

Closest named color: Red Wine (#8C0034). oklch(39.8% 0.151 9.4), rgb(132, 11, 53).

Aa

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

About this color

#840B35 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.09:1.

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

Values

HEX#840B35
RGBrgb(132, 11, 53)
HSLhsl(339, 85%, 28%)
OKLCHoklch(39.8% 0.151 9.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 #840B35 10.09:1 AAA Lc -95.9 Preferred for body text
Black text on #840B35 2.08:1 Fails Lc 12.3 Not readable
#840B35 text on white 10.09:1 AAA Lc 91.6 Preferred for body text
#840B35 text on black 2.08:1 Fails Lc -10.7 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

    #FB6788

    oklch(70.7% 0.182 9.3)

  6. Step 500

    500

    #F3296A

    oklch(63.1% 0.232 9.5)

  7. Step 600

    600

    #D40056

    oklch(55.6% 0.223 9.6)

  8. Step 700

    700

    #B30048

    oklch(49% 0.196 9.3)

  9. Step 800

    800

    #94003A

    oklch(42.6% 0.171 9.4)

  10. Step 900

    900 (this color)

    #840B35

    oklch(39.8% 0.151 9.4)

  11. Step 950

    950

    #4A081C

    oklch(27% 0.096 9.5)

Export this scale for Tailwind in the Tailwind colors tool

#840B35 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)#3233360.170
Deuteranopia (no green cones)#504A320.154
Tritanopia (no blue cones)#9100200.039
Achromatopsia (no color)#4242420.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #840B35

    #840B35

    oklch(39.8% 0.151 9.4)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840B35

    #840B35

    oklch(39.8% 0.151 9.4)

  • #771761

    #771761

    oklch(39.8% 0.152 339.3)

  • #7C2600

    #7C2600

    oklch(39.8% 0.126 39.4)

Open the analogous palette in the generator

Split complementary

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

  • #840B35

    #840B35

    oklch(39.8% 0.151 9.4)

  • #005535

    #005535

    oklch(39.7% 0.09 159.6)

  • #005061

    #005061

    oklch(39.8% 0.072 218.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840B35

    #840B35

    oklch(39.8% 0.151 9.4)

  • #345100

    #345100

    oklch(39.7% 0.106 129.4)

  • #00497F

    #00497F

    oklch(39.8% 0.11 249.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840B35

    #840B35

    oklch(39.8% 0.151 9.4)

  • #524700

    #524700

    oklch(39.7% 0.082 99.1)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

  • #3B3695

    #3B3695

    oklch(39.9% 0.151 279.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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