#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 |
|---|---|
| RGB | rgb(130, 26, 94) |
| HSL | hsl(321, 67%, 31%) |
| HSV | hsv(321, 80%, 51%) |
| CMYK | cmyk(0%, 80%, 27.7%, 49%) |
| CIE-LAB | lab(30.14, 49.10, -14.13) |
| CIE-LCH | lch(30.14, 51.09, 343.94°) |
| OKLab | oklab(41.82% 0.1492 -0.0375) |
| OKLCH | oklch(41.82% 0.154 345.9) |
| XYZ | xyz(11.5962, 6.2941, 11.1917) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.60
Rich Purple
#720058
ΔE00 4.69
Red Violet
#9E0168
ΔE00 5.14
Dark Magenta
#960056
ΔE00 5.35
Reddish Purple
#910951
ΔE00 5.60
Red Purple
#820747
ΔE00 5.88
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 |
|---|---|---|---|---|
| ##821A5E | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.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