#821C5D#821C5D

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

Color values

HEX#821C5D
RGBrgb(130, 28, 93)
HSLhsl(322, 65%, 31%)
HSVhsv(322, 78%, 51%)
CMYKcmyk(0%, 78.5%, 28.5%, 49%)
CIE-LABlab(30.32, 48.33, -13.20)
CIE-LCHlch(30.32, 50.10, 344.72°)
OKLaboklab(41.94% 0.147 -0.0349)
OKLCHoklch(41.94% 0.151 346.6)
XYZxyz(11.5975, 6.3679, 10.9722)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C5D #1C8241
analogous
#741C82 #821C5D #821C2A
triadic
#821C5D #5D821C #1C5D82
tetradic
#821C5D #82741C #1C8241 #1C2A82
square
#821C5D #82741C #1C8241 #1C2A82
split-complementary
#821C5D #2A821C #1C8274
monochromatic
#1D0615 #501139 #821C5D #B42781 #D642A1

Accessibility & contrast

On white

9.24
#821C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#821C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C5D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C5D#FFFFFF#000000##FFFFFF
##821C5D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#8B193A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821c5d;
/* rgb */ color: rgb(130, 28, 93);
/* oklch */ color: oklch(41.9% 0.151 346.6);
Tailwind
colors: {
  custom: {
    50: '#aa648b',
    500: '#821c5d',
    950: '#000000',
  },
}
SCSS
$custom: #821c5d;
$custom-light: #aa648b;
$custom-dark: #000000;
JSON
{
  "hex": "#821c5d",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 321.765,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.15109,
    "h": 346.6
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#821C5D
secondary
#44B56D
accent
#E87D40
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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