#821A5E#821A5E

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

Color values

HEX#821A5E
RGBrgb(130, 26, 94)
HSLhsl(321, 67%, 31%)
HSVhsv(321, 80%, 51%)
CMYKcmyk(0%, 80%, 27.7%, 49%)
CIE-LABlab(30.14, 49.10, -14.13)
CIE-LCHlch(30.14, 51.09, 343.94°)
OKLaboklab(41.82% 0.1492 -0.0375)
OKLCHoklch(41.82% 0.154 345.9)
XYZxyz(11.5962, 6.2941, 11.1917)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A5E #1A823E
analogous
#721A82 #821A5E #821A2A
triadic
#821A5E #5E821A #1A5E82
tetradic
#821A5E #82721A #1A823E #1A2A82
square
#821A5E #82721A #1A823E #1A2A82
split-complementary
#821A5E #2A821A #1A8272
monochromatic
#1C0614 #4F1039 #821A5E #B52483 #D83EA3

Accessibility & contrast

On white

9.30
#821A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821A5E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A5E#FFFFFF#000000##FFFFFF
##821A5E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#8B173A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821a5e;
/* rgb */ color: rgb(130, 26, 94);
/* oklch */ color: oklch(41.8% 0.154 345.9);
Tailwind
colors: {
  custom: {
    50: '#aa638b',
    500: '#821a5e',
    950: '#000000',
  },
}
SCSS
$custom: #821a5e;
$custom-light: #aa638b;
$custom-dark: #000000;
JSON
{
  "hex": "#821a5e",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 320.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.15383,
    "h": 345.9
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#821A5E
secondary
#42B66A
accent
#EA7A3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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