#840D33

Closest named color: Red Wine (#8C0034). oklch(39.8% 0.15 10.8), rgb(132, 13, 51).

Aa

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

About this color

#840D33 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.150 and its hue 11°. 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.06:1.

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

Values

HEX#840D33
RGBrgb(132, 13, 51)
HSLhsl(341, 82%, 28%)
OKLCHoklch(39.8% 0.15 10.8)

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 #840D33 10.06:1 AAA Lc -95.9 Preferred for body text
Black text on #840D33 2.08:1 Fails Lc 12.3 Not readable
#840D33 text on white 10.06:1 AAA Lc 91.6 Preferred for body text
#840D33 text on black 2.08: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

    #FFE1E4

    oklch(93.5% 0.033 10.9)

  3. Step 200

    200

    #FFC9CF

    oklch(88.5% 0.062 10.9)

  4. Step 300

    300

    #FFA2AF

    oklch(80.9% 0.111 10.8)

  5. Step 400

    400

    #FB6885

    oklch(70.8% 0.18 10.9)

  6. Step 500

    500

    #F32B67

    oklch(63.1% 0.231 10.7)

  7. Step 600

    600

    #D40053

    oklch(55.6% 0.222 10.7)

  8. Step 700

    700

    #B40045

    oklch(49.2% 0.197 10.8)

  9. Step 800

    800

    #950038

    oklch(42.8% 0.171 10.6)

  10. Step 900

    900 (this color)

    #840D33

    oklch(39.8% 0.15 10.8)

  11. Step 950

    950

    #4A091B

    oklch(27.1% 0.095 10.9)

Export this scale for Tailwind in the Tailwind colors tool

#840D33 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)#3333340.168
Deuteranopia (no green cones)#504A300.153
Tritanopia (no blue cones)#91001F0.037
Achromatopsia (no color)#4242420.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #840D33

    #840D33

    oklch(39.8% 0.15 10.8)

  • #005350

    #005350

    oklch(39.9% 0.069 190.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840D33

    #840D33

    oklch(39.8% 0.15 10.8)

  • #77175F

    #77175F

    oklch(39.7% 0.15 340.4)

  • #7B2800

    #7B2800

    oklch(39.9% 0.124 40.6)

Open the analogous palette in the generator

Split complementary

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

  • #840D33

    #840D33

    oklch(39.8% 0.15 10.8)

  • #005537

    #005537

    oklch(39.7% 0.088 161.1)

  • #005063

    #005063

    oklch(39.9% 0.073 220.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840D33

    #840D33

    oklch(39.8% 0.15 10.8)

  • #325200

    #325200

    oklch(39.8% 0.108 130.7)

  • #004882

    #004882

    oklch(39.7% 0.115 250.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840D33

    #840D33

    oklch(39.8% 0.15 10.8)

  • #514800

    #514800

    oklch(39.8% 0.083 101.2)

  • #005350

    #005350

    oklch(39.9% 0.069 190.6)

  • #3D3594

    #3D3594

    oklch(39.8% 0.15 280.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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