#821F55#821F55

#821F55 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 351.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#821F55
RGBrgb(130, 31, 85)
HSLhsl(327, 61%, 32%)
HSVhsv(327, 76%, 51%)
CMYKcmyk(0%, 76.2%, 34.6%, 49%)
CIE-LABlab(30.36, 46.30, -7.92)
CIE-LCHlch(30.36, 46.97, 350.29°)
OKLaboklab(41.86% 0.1417 -0.0205)
OKLCHoklch(41.86% 0.143 351.8)
XYZxyz(11.3363, 6.3830, 9.2276)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F55 #1F824C
analogous
#7E1F82 #821F55 #821F23
triadic
#821F55 #55821F #1F5582
tetradic
#821F55 #827E1F #1F824C #1F2382
square
#821F55 #827E1F #1F824C #1F2382
split-complementary
#821F55 #23821F #1F827E
monochromatic
#1F0714 #511335 #821F55 #B32B75 #D34894

Accessibility & contrast

On white

9.23
#821F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#821F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F55
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F55#FFFFFF#000000##FFFFFF
##821F551.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C56
Deuteranopia (green-blind)
#4C4E53
Tritanopia (blue-blind)
#8C1737
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821f55;
/* rgb */ color: rgb(130, 31, 85);
/* oklch */ color: oklch(41.9% 0.143 351.8);
Tailwind
colors: {
  custom: {
    50: '#aa6584',
    500: '#821f55',
    950: '#000000',
  },
}
SCSS
$custom: #821f55;
$custom-light: #aa6584;
$custom-dark: #000000;
JSON
{
  "hex": "#821f55",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 327.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.14322,
    "h": 351.8
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#821F55
secondary
#48B579
accent
#E58D43
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #821F55

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

Preview Lab → · Contrast checker → · Palette generator →

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