#821B52#821B52

#821B52 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.146 H 353.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#821B52
RGBrgb(130, 27, 82)
HSLhsl(328, 66%, 31%)
HSVhsv(328, 79%, 51%)
CMYKcmyk(0%, 79.2%, 36.9%, 49%)
CIE-LABlab(29.76, 47.30, -6.84)
CIE-LCHlch(29.76, 47.79, 351.77°)
OKLaboklab(41.38% 0.1452 -0.0175)
OKLCHoklch(41.38% 0.146 353.1)
XYZxyz(11.1215, 6.1403, 8.5805)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B52 #1B824B
analogous
#7E1B82 #821B52 #821B1F
triadic
#821B52 #52821B #1B5282
tetradic
#821B52 #827E1B #1B824B #1B1F82
square
#821B52 #827E1B #1B824B #1B1F82
split-complementary
#821B52 #1F821B #1B827E
monochromatic
#1D0612 #4F1032 #821B52 #B52672 #D74091

Accessibility & contrast

On white

9.43
#821B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#821B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B52
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B52#FFFFFF#000000##FFFFFF
##821B521.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821b52;
/* rgb */ color: rgb(130, 27, 82);
/* oklch */ color: oklch(41.4% 0.146 353.1);
Tailwind
colors: {
  custom: {
    50: '#ab6382',
    500: '#821b52',
    950: '#000000',
  },
}
SCSS
$custom: #821b52;
$custom-light: #ab6382;
$custom-dark: #000000;
JSON
{
  "hex": "#821b52",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 327.961,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.14624,
    "h": 353.1
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#821B52
secondary
#43B679
accent
#E98E3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821B52

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

Preview Lab → · Contrast checker → · Palette generator →

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