#840F3F

Closest named color: Wine (#80013F). oklch(40.3% 0.151 3.9), rgb(132, 15, 63).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameWine (#80013F)
Black text2.12:1
White text9.89:1

Values

HEX#840F3F
RGBrgb(132, 15, 63)
HSLhsl(335, 80%, 29%)
OKLCHoklch(40.3% 0.151 3.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 #840F3F 9.89:1 AAA Lc -95.7 Preferred for body text
Black text on #840F3F 2.12:1 Fails Lc 12.6 Not readable
#840F3F text on white 9.89:1 AAA Lc 91.3 Preferred for body text
#840F3F text on black 2.12:1 Fails Lc -11.0 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 800.

  1. Step 50

    50

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD5

    oklch(88.5% 0.05 4.1)

  4. Step 300

    300

    #F2A9BA

    oklch(80.9% 0.088 3.9)

  5. Step 400

    400

    #E87896

    oklch(70.8% 0.141 4.3)

  6. Step 500

    500

    #DD4F7D

    oklch(63.1% 0.18 3.9)

  7. Step 600

    600

    #C82A66

    oklch(55.6% 0.196 3.9)

  8. Step 700

    700

    #AD1955

    oklch(49.2% 0.183 3.9)

  9. Step 800

    800 (this color)

    #840F3F

    oklch(40.3% 0.151 3.9)

  10. Step 900

    900

    #711E3A

    oklch(37.7% 0.118 4.3)

  11. Step 950

    950

    #421322

    oklch(26.9% 0.074 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#840F3F 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)#3035400.172
Deuteranopia (no green cones)#4F4B3C0.154
Tritanopia (no blue cones)#9000260.044
Achromatopsia (no color)#4343430.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #840F3F

    #840F3F

    oklch(40.3% 0.151 3.9)

  • #00554D

    #00554D

    oklch(40.4% 0.072 184)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840F3F

    #840F3F

    oklch(40.3% 0.151 3.9)

  • #751C69

    #751C69

    oklch(40.3% 0.151 334.1)

  • #851B00

    #851B00

    oklch(40.3% 0.145 34)

Open the analogous palette in the generator

Split complementary

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

  • #840F3F

    #840F3F

    oklch(40.3% 0.151 3.9)

  • #00582D

    #00582D

    oklch(40.4% 0.103 153.6)

  • #005260

    #005260

    oklch(40.3% 0.071 214.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840F3F

    #840F3F

    oklch(40.3% 0.151 3.9)

  • #3D5100

    #3D5100

    oklch(40.3% 0.101 124.3)

  • #004C79

    #004C79

    oklch(40.1% 0.099 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840F3F

    #840F3F

    oklch(40.3% 0.151 3.9)

  • #574700

    #574700

    oklch(40.3% 0.083 94.2)

  • #00554D

    #00554D

    oklch(40.4% 0.072 184)

  • #333A98

    #333A98

    oklch(40.3% 0.151 274.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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