#821E4B#821E4B

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

Color values

HEX#821E4B
RGBrgb(130, 30, 75)
HSLhsl(333, 63%, 31%)
HSVhsv(333, 77%, 51%)
CMYKcmyk(0%, 76.9%, 42.3%, 49%)
CIE-LABlab(29.87, 45.50, -2.06)
CIE-LCHlch(29.87, 45.55, 357.41°)
OKLaboklab(41.38% 0.1397 -0.0048)
OKLCHoklch(41.38% 0.14 358)
XYZxyz(10.9410, 6.1838, 7.2727)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E4B #1E8255
analogous
#821E7D #821E4B #82231E
triadic
#821E4B #4B821E #1E4B82
tetradic
#821E4B #7D821E #1E8255 #231E82
square
#821E4B #7D821E #1E8255 #231E82
split-complementary
#821E4B #1E8223 #1E7D82
monochromatic
#1F0712 #50132E #821E4B #B42968 #D44686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821E4B#FFFFFF#000000##FFFFFF
##821E4B1.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)
#333A4C
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#8D0F32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821e4b;
/* rgb */ color: rgb(130, 30, 75);
/* oklch */ color: oklch(41.4% 0.140 358.0);
Tailwind
colors: {
  custom: {
    50: '#ab647d',
    500: '#821e4b',
    950: '#000000',
  },
}
SCSS
$custom: #821e4b;
$custom-light: #ab647d;
$custom-dark: #000000;
JSON
{
  "hex": "#821e4b",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 333,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.13982,
    "h": 358
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#821E4B
secondary
#47B583
accent
#E69C42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #821E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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