#821D71#821D71

#821D71 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.163 H 335.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#821D71
RGBrgb(130, 29, 113)
HSLhsl(310, 64%, 31%)
HSVhsv(310, 78%, 51%)
CMYKcmyk(0%, 77.7%, 13.1%, 49%)
CIE-LABlab(31.39, 50.86, -24.43)
CIE-LCHlch(31.39, 56.42, 334.35°)
OKLaboklab(43.02% 0.1491 -0.0666)
OKLCHoklch(43.02% 0.163 335.9)
XYZxyz(12.6261, 6.8180, 16.2706)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D71 #1D822E
analogous
#601D82 #821D71 #821D3E
triadic
#821D71 #71821D #1D7182
tetradic
#821D71 #82601D #1D822E #1D3E82
square
#821D71 #82601D #1D822E #1D3E82
split-complementary
#821D71 #3E821D #1D8260
monochromatic
#1E071A #501246 #821D71 #B4289C #D544BD

Accessibility & contrast

On white

8.89
#821D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#821D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D71
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D71#FFFFFF#000000##FFFFFF
##821D711.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#892545
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821d71;
/* rgb */ color: rgb(130, 29, 113);
/* oklch */ color: oklch(43.0% 0.163 335.9);
Tailwind
colors: {
  custom: {
    50: '#aa659a',
    500: '#821d71',
    950: '#000000',
  },
}
SCSS
$custom: #821d71;
$custom-light: #aa659a;
$custom-dark: #000000;
JSON
{
  "hex": "#821d71",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 310.099,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43018,
    "c": 0.16334,
    "h": 335.9
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#821D71
secondary
#46B558
accent
#E75D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821D71

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#821D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva