#821C52#821C52

#821C52 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.145 H 353.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#821C52
RGBrgb(130, 28, 82)
HSLhsl(328, 65%, 31%)
HSVhsv(328, 78%, 51%)
CMYKcmyk(0%, 78.5%, 36.9%, 49%)
CIE-LABlab(29.88, 46.97, -6.67)
CIE-LCHlch(29.88, 47.44, 351.92°)
OKLaboklab(41.47% 0.1441 -0.0171)
OKLCHoklch(41.47% 0.145 353.2)
XYZxyz(11.1449, 6.1869, 8.5883)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C52 #1C824C
analogous
#7F1C82 #821C52 #821C1F
triadic
#821C52 #52821C #1C5282
tetradic
#821C52 #827F1C #1C824C #1C1F82
square
#821C52 #827F1C #1C824C #1C1F82
split-complementary
#821C52 #1F821C #1C827F
monochromatic
#1D0612 #501132 #821C52 #B42772 #D64291

Accessibility & contrast

On white

9.39
#821C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#821C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C52
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C52#FFFFFF#000000##FFFFFF
##821C521.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#8C1134
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821c52;
/* rgb */ color: rgb(130, 28, 82);
/* oklch */ color: oklch(41.5% 0.145 353.2);
Tailwind
colors: {
  custom: {
    50: '#ab6382',
    500: '#821c52',
    950: '#000000',
  },
}
SCSS
$custom: #821c52;
$custom-light: #ab6382;
$custom-dark: #000000;
JSON
{
  "hex": "#821c52",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 328.235,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.14515,
    "h": 353.2
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#821C52
secondary
#44B57A
accent
#E88F40
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821C52

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

Preview Lab → · Contrast checker → · Palette generator →

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