#821D52#821D52

#821D52 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.144 H 353.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#821D52
RGBrgb(130, 29, 82)
HSLhsl(329, 64%, 31%)
HSVhsv(329, 78%, 51%)
CMYKcmyk(0%, 77.7%, 36.9%, 49%)
CIE-LABlab(30.00, 46.64, -6.49)
CIE-LCHlch(30.00, 47.09, 352.08°)
OKLaboklab(41.56% 0.1431 -0.0166)
OKLCHoklch(41.56% 0.144 353.4)
XYZxyz(11.1690, 6.2351, 8.5963)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D52 #1D824D
analogous
#7F1D82 #821D52 #821D1F
triadic
#821D52 #52821D #1D5282
tetradic
#821D52 #827F1D #1D824D #1D1F82
square
#821D52 #827F1D #1D824D #1D1F82
split-complementary
#821D52 #1F821D #1D827F
monochromatic
#1E0713 #501232 #821D52 #B42872 #D54490

Accessibility & contrast

On white

9.35
#821D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#821D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D52
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D52#FFFFFF#000000##FFFFFF
##821D521.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4D4D50
Tritanopia (blue-blind)
#8C1335
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821d52;
/* rgb */ color: rgb(130, 29, 82);
/* oklch */ color: oklch(41.6% 0.144 353.4);
Tailwind
colors: {
  custom: {
    50: '#ab6482',
    500: '#821d52',
    950: '#000000',
  },
}
SCSS
$custom: #821d52;
$custom-light: #ab6482;
$custom-dark: #000000;
JSON
{
  "hex": "#821d52",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 328.515,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.14404,
    "h": 353.4
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#821D52
secondary
#46B57B
accent
#E79041
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821D52

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

Preview Lab → · Contrast checker → · Palette generator →

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