#821F56#821F56
#821F56 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.144 H 351.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #821F56 |
|---|---|
| RGB | rgb(130, 31, 86) |
| HSL | hsl(327, 61%, 32%) |
| HSV | hsv(327, 76%, 51%) |
| CMYK | cmyk(0%, 76.2%, 33.8%, 49%) |
| CIE-LAB | lab(30.40, 46.42, -8.52) |
| CIE-LCH | lch(30.40, 47.19, 349.60°) |
| OKLab | oklab(41.9% 0.142 -0.0221) |
| OKLCH | oklch(41.9% 0.144 351.2) |
| XYZ | xyz(11.3763, 6.3990, 9.4383) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.87
Red Purple
#820747
ΔE00 3.94
Dark Magenta
#960056
ΔE00 4.19
Velvet
#750851
ΔE00 4.33
Mulberry
#920A4E
ΔE00 4.65
Dark Fuchsia
#9D0759
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821F56 #1F824B
analogous
#7D1F82 #821F56 #821F24
triadic
#821F56 #56821F #1F5682
tetradic
#821F56 #827D1F #1F824B #1F2482
square
#821F56 #827D1F #1F824B #1F2482
split-complementary
#821F56 #24821F #1F827D
monochromatic
#1F0715 #511335 #821F56 #B32B77 #D34895
Accessibility & contrast
On white
9.21
#821F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#821F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821F56
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821F56 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8C1837
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #821f56; /* rgb */ color: rgb(130, 31, 86); /* oklch */ color: oklch(41.9% 0.144 351.2);
Tailwind
colors: {
custom: {
50: '#aa6585',
500: '#821f56',
950: '#000000',
},
}SCSS
$custom: #821f56; $custom-light: #aa6585; $custom-dark: #000000;
JSON
{
"hex": "#821f56",
"rgb": {
"r": 130,
"g": 31,
"b": 86
},
"hsl": {
"h": 326.667,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.41898,
"c": 0.14374,
"h": 351.2
},
"luminance": 0.06398
}Semantic roles & 50–950 ramp
primary
#821F56
secondary
#48B578
accent
#E58B43
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C