#821A5D#821A5D

#821A5D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.153 H 346.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#821A5D
RGBrgb(130, 26, 93)
HSLhsl(321, 67%, 31%)
HSVhsv(321, 80%, 51%)
CMYKcmyk(0%, 80%, 28.5%, 49%)
CIE-LABlab(30.10, 48.97, -13.55)
CIE-LCHlch(30.10, 50.81, 344.54°)
OKLaboklab(41.77% 0.149 -0.0359)
OKLCHoklch(41.77% 0.153 346.5)
XYZxyz(11.5516, 6.2762, 10.9569)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A5D #1A823F
analogous
#731A82 #821A5D #821A29
triadic
#821A5D #5D821A #1A5D82
tetradic
#821A5D #82731A #1A823F #1A2982
square
#821A5D #82731A #1A823F #1A2982
split-complementary
#821A5D #29821A #1A8273
monochromatic
#1C0614 #4F1039 #821A5D #B52481 #D83EA1

Accessibility & contrast

On white

9.31
#821A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#821A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A5D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A5D#FFFFFF#000000##FFFFFF
##821A5D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C5F
Deuteranopia (green-blind)
#494D5B
Tritanopia (blue-blind)
#8B1639
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821a5d;
/* rgb */ color: rgb(130, 26, 93);
/* oklch */ color: oklch(41.8% 0.153 346.5);
Tailwind
colors: {
  custom: {
    50: '#aa638b',
    500: '#821a5d',
    950: '#000000',
  },
}
SCSS
$custom: #821a5d;
$custom-light: #aa638b;
$custom-dark: #000000;
JSON
{
  "hex": "#821a5d",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 321.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.15323,
    "h": 346.5
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#821A5D
secondary
#42B66B
accent
#EA7B3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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