#821A5B#821A5B

#821A5B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.152 H 347.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#821A5B
RGBrgb(130, 26, 91)
HSLhsl(323, 67%, 31%)
HSVhsv(323, 80%, 51%)
CMYKcmyk(0%, 80%, 30%, 49%)
CIE-LABlab(30.01, 48.71, -12.37)
CIE-LCHlch(30.01, 50.26, 345.75°)
OKLaboklab(41.68% 0.1485 -0.0326)
OKLCHoklch(41.68% 0.152 347.6)
XYZxyz(11.4642, 6.2413, 10.4965)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A5B #1A8241
analogous
#751A82 #821A5B #821A27
triadic
#821A5B #5B821A #1A5B82
tetradic
#821A5B #82751A #1A8241 #1A2782
square
#821A5B #82751A #1A8241 #1A2782
split-complementary
#821A5B #27821A #1A8275
monochromatic
#1C0614 #4F1037 #821A5B #B5247F #D83E9E

Accessibility & contrast

On white

9.34
#821A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#821A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A5B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A5B#FFFFFF#000000##FFFFFF
##821A5B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#8C1538
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821a5b;
/* rgb */ color: rgb(130, 26, 91);
/* oklch */ color: oklch(41.7% 0.152 347.6);
Tailwind
colors: {
  custom: {
    50: '#aa6389',
    500: '#821a5b',
    950: '#000000',
  },
}
SCSS
$custom: #821a5b;
$custom-light: #aa6389;
$custom-dark: #000000;
JSON
{
  "hex": "#821a5b",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 322.5,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.15207,
    "h": 347.6
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#821A5B
secondary
#42B66D
accent
#EA7E3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #821A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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