#821D40

Closest named color: Red Purple (#820747). oklch(40.9% 0.137 5), rgb(130, 29, 64).

Aa

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

About this color

#821D40 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.137 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.029 away. White text reads best on it, at 9.55:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.19:1
White text9.55:1

Values

HEX#821D40
RGBrgb(130, 29, 64)
HSLhsl(339, 64%, 31%)
OKLCHoklch(40.9% 0.137 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 #821D40 9.55:1 AAA Lc -95.3 Preferred for body text
Black text on #821D40 2.19:1 Fails Lc 13.0 Not readable
#821D40 text on white 9.55:1 AAA Lc 90.9 Preferred for body text
#821D40 text on black 2.19:1 Fails Lc -11.4 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

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F4CED5

    oklch(88.6% 0.044 5.5)

  4. Step 300

    300

    #EEABB9

    oklch(80.8% 0.08 5.2)

  5. Step 400

    400

    #E27C96

    oklch(70.6% 0.129 4.6)

  6. Step 500

    500

    #D7577C

    oklch(63.1% 0.164 5.1)

  7. Step 600

    600

    #C23765

    oklch(55.6% 0.178 5.1)

  8. Step 700

    700

    #A72754

    oklch(49% 0.166 4.9)

  9. Step 800

    800 (this color)

    #821D40

    oklch(40.9% 0.137 5)

  10. Step 900

    900

    #6D233A

    oklch(37.6% 0.107 4.7)

  11. Step 950

    950

    #401622

    oklch(27% 0.067 4.8)

Export this scale for Tailwind in the Tailwind colors tool

#821D40 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)#3639410.154
Deuteranopia (no green cones)#504C3E0.139
Tritanopia (no blue cones)#8E052C0.037
Achromatopsia (no color)#4545450.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #821D40

    #821D40

    oklch(40.9% 0.137 5)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #821D40

    #821D40

    oklch(40.9% 0.137 5)

  • #742467

    #742467

    oklch(40.9% 0.138 334.9)

  • #842206

    #842206

    oklch(40.8% 0.137 35.1)

Open the analogous palette in the generator

Split complementary

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

  • #821D40

    #821D40

    oklch(40.9% 0.137 5)

  • #005A31

    #005A31

    oklch(41.1% 0.101 155.1)

  • #005463

    #005463

    oklch(41% 0.073 215.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #821D40

    #821D40

    oklch(40.9% 0.137 5)

  • #3D5300

    #3D5300

    oklch(40.9% 0.103 125.3)

  • #004E7E

    #004E7E

    oklch(41% 0.103 245.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #821D40

    #821D40

    oklch(40.9% 0.137 5)

  • #584900

    #584900

    oklch(40.9% 0.084 95.5)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

  • #373E93

    #373E93

    oklch(40.9% 0.138 274.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #821D40 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.