#842240

Closest named color: Red Wine (#8C0034). oklch(41.8% 0.134 6.8), rgb(132, 34, 64).

Aa

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

About this color

#842240 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.134 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.033 away. White text reads best on it, at 9.19:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.28:1
White text9.19:1

Values

HEX#842240
RGBrgb(132, 34, 64)
HSLhsl(342, 59%, 33%)
OKLCHoklch(41.8% 0.134 6.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 #842240 9.19:1 AAA Lc -94.6 Preferred for body text
Black text on #842240 2.28:1 Fails Lc 13.8 Not readable
#842240 text on white 9.19:1 AAA Lc 90.1 Preferred for body text
#842240 text on black 2.28:1 Fails Lc -12.1 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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E7

    oklch(93.6% 0.022 7.2)

  3. Step 200

    200

    #F4CED4

    oklch(88.5% 0.043 7.3)

  4. Step 300

    300

    #EDACB8

    oklch(80.9% 0.078 6.7)

  5. Step 400

    400

    #E17E93

    oklch(70.7% 0.124 7.2)

  6. Step 500

    500

    #D65979

    oklch(63.2% 0.159 7)

  7. Step 600

    600

    #C13962

    oklch(55.6% 0.174 6.7)

  8. Step 700

    700

    #A62A51

    oklch(49% 0.161 6.8)

  9. Step 800

    800 (this color)

    #842240

    oklch(41.8% 0.134 6.8)

  10. Step 900

    900

    #6D2438

    oklch(37.7% 0.105 6.9)

  11. Step 950

    950

    #401621

    oklch(26.9% 0.066 6.4)

Export this scale for Tailwind in the Tailwind colors tool

#842240 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)#393B410.150
Deuteranopia (no green cones)#534F3E0.137
Tritanopia (no blue cones)#900E2E0.035
Achromatopsia (no color)#4848480.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #842240

    #842240

    oklch(41.8% 0.134 6.8)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842240

    #842240

    oklch(41.8% 0.134 6.8)

  • #772867

    #772867

    oklch(41.8% 0.134 336.6)

  • #852808

    #852808

    oklch(41.7% 0.133 37)

Open the analogous palette in the generator

Split complementary

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

  • #842240

    #842240

    oklch(41.8% 0.134 6.8)

  • #005C35

    #005C35

    oklch(41.8% 0.1 156.6)

  • #005667

    #005667

    oklch(41.8% 0.075 217.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842240

    #842240

    oklch(41.8% 0.134 6.8)

  • #3D5600

    #3D5600

    oklch(41.7% 0.107 126.5)

  • #005084

    #005084

    oklch(41.9% 0.109 246.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842240

    #842240

    oklch(41.8% 0.134 6.8)

  • #5A4C00

    #5A4C00

    oklch(41.8% 0.086 96.9)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

  • #3C4093

    #3C4093

    oklch(41.6% 0.134 276.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #842240 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.