#821B47#821B47
#821B47 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.142 H 0.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #821B47 |
|---|---|
| RGB | rgb(130, 27, 71) |
| HSL | hsl(334, 66%, 31%) |
| HSV | hsv(334, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 45.4%, 49%) |
| CIE-LAB | lab(29.38, 46.11, -0.13) |
| CIE-LCH | lch(29.38, 46.11, 359.84°) |
| OKLab | oklab(40.98% 0.1416 0.0002) |
| OKLCH | oklch(40.98% 0.142 0.1) |
| XYZ | xyz(10.7360, 5.9860, 6.5501) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.29
Wine (survey)
#80013F
ΔE00 2.61
Mulberry
#920A4E
ΔE00 3.22
Reddish Purple
#910951
ΔE00 3.52
Merlot
#730039
ΔE00 4.40
Berry
#990F4B
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B47 #1B8256
analogous
#821B7A #821B47 #82221B
triadic
#821B47 #47821B #1B4782
tetradic
#821B47 #7A821B #1B8256 #221B82
square
#821B47 #7A821B #1B8256 #221B82
split-complementary
#821B47 #1B8222 #1B7A82
monochromatic
#1D0610 #4F102B #821B47 #B52663 #D74081
Accessibility & contrast
On white
9.56
#821B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#821B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B47
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B47 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4E4C45
Tritanopia (blue-blind)
#8D072E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #821b47; /* rgb */ color: rgb(130, 27, 71); /* oklch */ color: oklch(41.0% 0.142 0.1);
Tailwind
colors: {
custom: {
50: '#ab627a',
500: '#821b47',
950: '#000000',
},
}SCSS
$custom: #821b47; $custom-light: #ab627a; $custom-dark: #000000;
JSON
{
"hex": "#821b47",
"rgb": {
"r": 130,
"g": 27,
"b": 71
},
"hsl": {
"h": 334.369,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.40975,
"c": 0.14161,
"h": 0.1
},
"luminance": 0.05985
}Semantic roles & 50–950 ramp
primary
#821B47
secondary
#43B685
accent
#E9A03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B