#821A5B#821A5B
#821A5B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.152 H 347.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #821A5B |
|---|---|
| RGB | rgb(130, 26, 91) |
| HSL | hsl(323, 67%, 31%) |
| HSV | hsv(323, 80%, 51%) |
| CMYK | cmyk(0%, 80%, 30%, 49%) |
| CIE-LAB | lab(30.01, 48.71, -12.37) |
| CIE-LCH | lch(30.01, 50.26, 345.75°) |
| OKLab | oklab(41.68% 0.1485 -0.0326) |
| OKLCH | oklch(41.68% 0.152 347.6) |
| XYZ | xyz(11.4642, 6.2413, 10.4965) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.48
Dark Magenta
#960056
ΔE00 4.83
Reddish Purple
#910951
ΔE00 4.94
Rich Purple
#720058
ΔE00 5.03
Red Purple
#820747
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821A5B #1A8241
analogous
#751A82 #821A5B #821A27
triadic
#821A5B #5B821A #1A5B82
tetradic
#821A5B #82751A #1A8241 #1A2782
square
#821A5B #82751A #1A8241 #1A2782
split-complementary
#821A5B #27821A #1A8275
monochromatic
#1C0614 #4F1037 #821A5B #B5247F #D83E9E
Accessibility & contrast
On white
9.34
#821A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#821A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821A5B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821A5B | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#8C1538
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #821a5b; /* rgb */ color: rgb(130, 26, 91); /* oklch */ color: oklch(41.7% 0.152 347.6);
Tailwind
colors: {
custom: {
50: '#aa6389',
500: '#821a5b',
950: '#000000',
},
}SCSS
$custom: #821a5b; $custom-light: #aa6389; $custom-dark: #000000;
JSON
{
"hex": "#821a5b",
"rgb": {
"r": 130,
"g": 26,
"b": 91
},
"hsl": {
"h": 322.5,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.41684,
"c": 0.15207,
"h": 347.6
},
"luminance": 0.0624
}Semantic roles & 50–950 ramp
primary
#821A5B
secondary
#42B66D
accent
#EA7E3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C