#821B57#821B57
#821B57 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 350.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #821B57 |
|---|---|
| RGB | rgb(130, 27, 87) |
| HSL | hsl(325, 66%, 31%) |
| HSV | hsv(325, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 33.1%, 49%) |
| CIE-LAB | lab(29.96, 47.90, -9.84) |
| CIE-LCH | lch(29.96, 48.90, 348.39°) |
| OKLab | oklab(41.59% 0.1466 -0.0257) |
| OKLCH | oklch(41.59% 0.149 350.1) |
| XYZ | xyz(11.3188, 6.2191, 9.6193) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.73
Reddish Purple
#910951
ΔE00 4.09
Red Purple
#820747
ΔE00 4.11
Dark Magenta
#960056
ΔE00 4.24
Mulberry
#920A4E
ΔE00 4.97
Red Violet
#9E0168
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B57 #1B8246
analogous
#791B82 #821B57 #821B23
triadic
#821B57 #57821B #1B5782
tetradic
#821B57 #82791B #1B8246 #1B2382
square
#821B57 #82791B #1B8246 #1B2382
split-complementary
#821B57 #23821B #1B8279
monochromatic
#1D0613 #4F1035 #821B57 #B52679 #D74098
Accessibility & contrast
On white
9.36
#821B57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#821B57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B57
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B57 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#4B4D55
Tritanopia (blue-blind)
#8C1437
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #821b57; /* rgb */ color: rgb(130, 27, 87); /* oklch */ color: oklch(41.6% 0.149 350.1);
Tailwind
colors: {
custom: {
50: '#aa6386',
500: '#821b57',
950: '#000000',
},
}SCSS
$custom: #821b57; $custom-light: #aa6386; $custom-dark: #000000;
JSON
{
"hex": "#821b57",
"rgb": {
"r": 130,
"g": 27,
"b": 87
},
"hsl": {
"h": 325.049,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.4159,
"c": 0.14879,
"h": 350.1
},
"luminance": 0.06218
}Semantic roles & 50–950 ramp
primary
#821B57
secondary
#43B673
accent
#E9863F
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C