#821E56#821E56
#821E56 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.145 H 351.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #821E56 |
|---|---|
| RGB | rgb(130, 30, 86) |
| HSL | hsl(326, 63%, 31%) |
| HSV | hsv(326, 77%, 51%) |
| CMYK | cmyk(0%, 76.9%, 33.8%, 49%) |
| CIE-LAB | lab(30.27, 46.77, -8.71) |
| CIE-LCH | lch(30.27, 47.57, 349.46°) |
| OKLab | oklab(41.81% 0.1431 -0.0226) |
| OKLCH | oklch(41.81% 0.145 351) |
| XYZ | xyz(11.3506, 6.3476, 9.4298) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.87
Red Purple
#820747
ΔE00 3.91
Dark Magenta
#960056
ΔE00 4.16
Velvet
#750851
ΔE00 4.19
Mulberry
#920A4E
ΔE00 4.67
Dark Fuchsia
#9D0759
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821E56 #1E824A
analogous
#7C1E82 #821E56 #821E24
triadic
#821E56 #56821E #1E5682
tetradic
#821E56 #827C1E #1E824A #1E2482
square
#821E56 #827C1E #1E824A #1E2482
split-complementary
#821E56 #24821E #1E827C
monochromatic
#1F0714 #501335 #821E56 #B42977 #D44696
Accessibility & contrast
On white
9.25
#821E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#821E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821E56
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821E56 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8C1737
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #821e56; /* rgb */ color: rgb(130, 30, 86); /* oklch */ color: oklch(41.8% 0.145 351.0);
Tailwind
colors: {
custom: {
50: '#aa6485',
500: '#821e56',
950: '#000000',
},
}SCSS
$custom: #821e56; $custom-light: #aa6485; $custom-dark: #000000;
JSON
{
"hex": "#821e56",
"rgb": {
"r": 130,
"g": 30,
"b": 86
},
"hsl": {
"h": 326.4,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.41807,
"c": 0.14491,
"h": 351
},
"luminance": 0.06346
}Semantic roles & 50–950 ramp
primary
#821E56
secondary
#47B577
accent
#E68A42
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C