#840D41

Closest named color: Red Purple (#820747). oklch(40.2% 0.153 2.5), rgb(132, 13, 65).

Aa

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

About this color

#840D41 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.153 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.014 away. White text reads best on it, at 9.92:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.11:1
White text9.92:1

Values

HEX#840D41
RGBrgb(132, 13, 65)
HSLhsl(334, 82%, 28%)
OKLCHoklch(40.2% 0.153 2.5)

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 #840D41 9.92:1 AAA Lc -95.7 Preferred for body text
Black text on #840D41 2.11:1 Fails Lc 12.6 Not readable
#840D41 text on white 9.92:1 AAA Lc 91.3 Preferred for body text
#840D41 text on black 2.11: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD6

    oklch(88.5% 0.05 2.5)

  4. Step 300

    300

    #F2A9BB

    oklch(80.9% 0.089 3.1)

  5. Step 400

    400

    #E87799

    oklch(70.7% 0.143 2.3)

  6. Step 500

    500

    #DD4E80

    oklch(63.1% 0.182 2.4)

  7. Step 600

    600

    #C82869

    oklch(55.5% 0.198 2.4)

  8. Step 700

    700

    #AD1758

    oklch(49.2% 0.185 2.3)

  9. Step 800

    800 (this color)

    #840D41

    oklch(40.2% 0.153 2.5)

  10. Step 900

    900

    #711D3C

    oklch(37.7% 0.12 2.4)

  11. Step 950

    950

    #431323

    oklch(27.1% 0.076 3)

Export this scale for Tailwind in the Tailwind colors tool

#840D41 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)#2F34420.174
Deuteranopia (no green cones)#4E4B3E0.156
Tritanopia (no blue cones)#9000270.046
Achromatopsia (no color)#4343430.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #840D41

    #840D41

    oklch(40.2% 0.153 2.5)

  • #00554B

    #00554B

    oklch(40.3% 0.072 181.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840D41

    #840D41

    oklch(40.2% 0.153 2.5)

  • #741B6B

    #741B6B

    oklch(40.2% 0.153 332.5)

  • #871500

    #871500

    oklch(40.2% 0.151 32.4)

Open the analogous palette in the generator

Split complementary

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

  • #840D41

    #840D41

    oklch(40.2% 0.153 2.5)

  • #00582B

    #00582B

    oklch(40.3% 0.105 152.6)

  • #00525E

    #00525E

    oklch(40.2% 0.07 211.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840D41

    #840D41

    oklch(40.2% 0.153 2.5)

  • #3F5000

    #3F5000

    oklch(40.2% 0.098 122.6)

  • #004D77

    #004D77

    oklch(40.3% 0.096 242)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840D41

    #840D41

    oklch(40.2% 0.153 2.5)

  • #584600

    #584600

    oklch(40.2% 0.082 92)

  • #00554B

    #00554B

    oklch(40.3% 0.072 181.4)

  • #303A99

    #303A99

    oklch(40.2% 0.154 272.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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