#840C34

Closest named color: Red Wine (#8C0034). oklch(39.8% 0.151 10.1), rgb(132, 12, 52).

Aa

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

About this color

#840C34 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.151 and its hue 10°. 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.08:1.

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

Values

HEX#840C34
RGBrgb(132, 12, 52)
HSLhsl(340, 83%, 28%)
OKLCHoklch(39.8% 0.151 10.1)

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

    #FFA2B0

    oklch(80.9% 0.111 10.1)

  5. Step 400

    400

    #FB6886

    oklch(70.8% 0.181 10.4)

  6. Step 500

    500

    #F32A69

    oklch(63.1% 0.231 10)

  7. Step 600

    600

    #D40055

    oklch(55.6% 0.222 10)

  8. Step 700

    700

    #B30046

    oklch(49% 0.196 10.2)

  9. Step 800

    800

    #940039

    oklch(42.6% 0.17 9.9)

  10. Step 900

    900 (this color)

    #840C34

    oklch(39.8% 0.151 10.1)

  11. Step 950

    950

    #4A081B

    oklch(27% 0.096 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#840C34 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)#3233350.170
Deuteranopia (no green cones)#504A310.154
Tritanopia (no blue cones)#91001F0.039
Achromatopsia (no color)#4242420.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #840C34

    #840C34

    oklch(39.8% 0.151 10.1)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840C34

    #840C34

    oklch(39.8% 0.151 10.1)

  • #771760

    #771760

    oklch(39.8% 0.151 339.8)

  • #7B2700

    #7B2700

    oklch(39.7% 0.124 40.1)

Open the analogous palette in the generator

Split complementary

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

  • #840C34

    #840C34

    oklch(39.8% 0.151 10.1)

  • #005536

    #005536

    oklch(39.7% 0.089 160.3)

  • #005062

    #005062

    oklch(39.9% 0.072 219.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840C34

    #840C34

    oklch(39.8% 0.151 10.1)

  • #335200

    #335200

    oklch(39.9% 0.108 130.2)

  • #004981

    #004981

    oklch(39.9% 0.113 250)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840C34

    #840C34

    oklch(39.8% 0.151 10.1)

  • #524800

    #524800

    oklch(39.9% 0.083 100.2)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

  • #3C3595

    #3C3595

    oklch(39.8% 0.152 280.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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