#821D4F#821D4F

#821D4F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.143 H 355.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#821D4F
RGBrgb(130, 29, 79)
HSLhsl(330, 64%, 31%)
HSVhsv(330, 78%, 51%)
CMYKcmyk(0%, 77.7%, 39.2%, 49%)
CIE-LABlab(29.89, 46.29, -4.68)
CIE-LCHlch(29.89, 46.53, 354.23°)
OKLaboklab(41.44% 0.1422 -0.0117)
OKLCHoklch(41.44% 0.143 355.3)
XYZxyz(11.0573, 6.1904, 8.0082)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D4F #1D8250
analogous
#821D81 #821D4F #821D1D
triadic
#821D4F #4F821D #1D4F82
tetradic
#821D4F #81821D #1D8250 #1D1D82
square
#821D4F #81821D #1D8250 #1D1D82
split-complementary
#821D4F #1D821D #1D8182
monochromatic
#1E0712 #501231 #821D4F #B4286D #D5448C

Accessibility & contrast

On white

9.38
#821D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821D4F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D4F#FFFFFF#000000##FFFFFF
##821D4F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#8D1133
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821d4f;
/* rgb */ color: rgb(130, 29, 79);
/* oklch */ color: oklch(41.4% 0.143 355.3);
Tailwind
colors: {
  custom: {
    50: '#ab6480',
    500: '#821d4f',
    950: '#000000',
  },
}
SCSS
$custom: #821d4f;
$custom-light: #ab6480;
$custom-dark: #000000;
JSON
{
  "hex": "#821d4f",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 330.297,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41439,
    "c": 0.14264,
    "h": 355.3
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#821D4F
secondary
#46B57E
accent
#E79541
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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