#821B52#821B52
#821B52 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.146 H 353.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #821B52 |
|---|---|
| RGB | rgb(130, 27, 82) |
| HSL | hsl(328, 66%, 31%) |
| HSV | hsv(328, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 36.9%, 49%) |
| CIE-LAB | lab(29.76, 47.30, -6.84) |
| CIE-LCH | lch(29.76, 47.79, 351.77°) |
| OKLab | oklab(41.38% 0.1452 -0.0175) |
| OKLCH | oklch(41.38% 0.146 353.1) |
| XYZ | xyz(11.1215, 6.1403, 8.5805) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.91
Reddish Purple
#910951
ΔE00 3.26
Dark Magenta
#960056
ΔE00 3.84
Mulberry
#920A4E
ΔE00 3.95
Velvet
#750851
ΔE00 4.38
Wine (survey)
#80013F
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B52 #1B824B
analogous
#7E1B82 #821B52 #821B1F
triadic
#821B52 #52821B #1B5282
tetradic
#821B52 #827E1B #1B824B #1B1F82
square
#821B52 #827E1B #1B824B #1B1F82
split-complementary
#821B52 #1F821B #1B827E
monochromatic
#1D0612 #4F1032 #821B52 #B52672 #D74091
Accessibility & contrast
On white
9.43
#821B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#821B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B52
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B52 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#8D1034
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #821b52; /* rgb */ color: rgb(130, 27, 82); /* oklch */ color: oklch(41.4% 0.146 353.1);
Tailwind
colors: {
custom: {
50: '#ab6382',
500: '#821b52',
950: '#000000',
},
}SCSS
$custom: #821b52; $custom-light: #ab6382; $custom-dark: #000000;
JSON
{
"hex": "#821b52",
"rgb": {
"r": 130,
"g": 27,
"b": 82
},
"hsl": {
"h": 327.961,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.41384,
"c": 0.14624,
"h": 353.1
},
"luminance": 0.06139
}Semantic roles & 50–950 ramp
primary
#821B52
secondary
#43B679
accent
#E98E3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C