#821B5A

Closest named color: Red Purple (#820747). oklch(41.7% 0.15 348.3), rgb(130, 27, 90).

Aa

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

About this color

#821B5A is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.150 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.033 away. White text reads best on it, at 9.31:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.25:1
White text9.31:1

Values

HEX#821B5A
RGBrgb(130, 27, 90)
HSLhsl(323, 66%, 31%)
OKLCHoklch(41.7% 0.15 348.3)

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 #821B5A 9.31:1 AAA Lc -94.7 Preferred for body text
Black text on #821B5A 2.25:1 Fails Lc 13.7 Not readable
#821B5A text on white 9.31:1 AAA Lc 90.3 Preferred for body text
#821B5A text on black 2.25:1 Fails Lc -12.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CDDF

    oklch(88.6% 0.049 347.9)

  4. Step 300

    300

    #ECAACA

    oklch(80.9% 0.087 348.6)

  5. Step 400

    400

    #DF7AAF

    oklch(70.7% 0.139 348.5)

  6. Step 500

    500

    #D3529C

    oklch(63% 0.18 348)

  7. Step 600

    600

    #BF3086

    oklch(55.6% 0.196 348.6)

  8. Step 700

    700

    #A42172

    oklch(49.1% 0.182 348.3)

  9. Step 800

    800 (this color)

    #821B5A

    oklch(41.7% 0.15 348.3)

  10. Step 900

    900

    #6B204C

    oklch(37.6% 0.117 348)

  11. Step 950

    950

    #3F142D

    oklch(26.9% 0.075 347.3)

Export this scale for Tailwind in the Tailwind colors tool

#821B5A 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)#2B3B5C0.169
Deuteranopia (no green cones)#4A4D580.147
Tritanopia (no blue cones)#8C16380.060
Achromatopsia (no color)#4747470.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #821B5A

    #821B5A

    oklch(41.7% 0.15 348.3)

  • #005B44

    #005B44

    oklch(41.9% 0.084 168.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #821B5A

    #821B5A

    oklch(41.7% 0.15 348.3)

  • #6D2880

    #6D2880

    oklch(41.8% 0.151 318.2)

  • #8C162B

    #8C162B

    oklch(41.7% 0.151 18.1)

Open the analogous palette in the generator

Split complementary

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

  • #821B5A

    #821B5A

    oklch(41.7% 0.15 348.3)

  • #205B00

    #205B00

    oklch(41.6% 0.129 138.3)

  • #00585A

    #00585A

    oklch(41.8% 0.071 197.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #821B5A

    #821B5A

    oklch(41.7% 0.15 348.3)

  • #514F00

    #514F00

    oklch(41.6% 0.09 108.1)

  • #00546F

    #00546F

    oklch(41.7% 0.082 228.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #821B5A

    #821B5A

    oklch(41.7% 0.15 348.3)

  • #664500

    #664500

    oklch(41.7% 0.087 77.7)

  • #005B44

    #005B44

    oklch(41.9% 0.084 168.3)

  • #06479C

    #06479C

    oklch(41.6% 0.151 258.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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