#821F52#821F52

#821F52 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.142 H 353.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#821F52
RGBrgb(130, 31, 82)
HSLhsl(329, 61%, 32%)
HSVhsv(329, 76%, 51%)
CMYKcmyk(0%, 76.2%, 36.9%, 49%)
CIE-LABlab(30.25, 45.94, -6.12)
CIE-LCHlch(30.25, 46.34, 352.41°)
OKLaboklab(41.74% 0.1409 -0.0156)
OKLCHoklch(41.74% 0.142 353.7)
XYZxyz(11.2196, 6.3363, 8.6132)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F52 #1F824F
analogous
#811F82 #821F52 #821F20
triadic
#821F52 #52821F #1F5282
tetradic
#821F52 #82811F #1F824F #1F2082
square
#821F52 #82811F #1F824F #1F2082
split-complementary
#821F52 #20821F #1F8281
monochromatic
#1F0714 #511333 #821F52 #B32B71 #D34890

Accessibility & contrast

On white

9.26
#821F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#821F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F52
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F52#FFFFFF#000000##FFFFFF
##821F521.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8C1535
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821f52;
/* rgb */ color: rgb(130, 31, 82);
/* oklch */ color: oklch(41.7% 0.142 353.7);
Tailwind
colors: {
  custom: {
    50: '#aa6482',
    500: '#821f52',
    950: '#000000',
  },
}
SCSS
$custom: #821f52;
$custom-light: #aa6482;
$custom-dark: #000000;
JSON
{
  "hex": "#821f52",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 329.091,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.14173,
    "h": 353.7
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#821F52
secondary
#48B57D
accent
#E59143
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821F52

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

Preview Lab → · Contrast checker → · Palette generator →

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