#821B45#821B45
#821B45 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.141 H 1.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #821B45 |
|---|---|
| RGB | rgb(130, 27, 69) |
| HSL | hsl(336, 66%, 31%) |
| HSV | hsv(336, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 46.9%, 49%) |
| CIE-LAB | lab(29.31, 45.91, 1.11) |
| CIE-LCH | lch(29.31, 45.92, 1.39°) |
| OKLab | oklab(40.91% 0.1409 0.0034) |
| OKLCH | oklch(40.91% 0.141 1.4) |
| XYZ | xyz(10.6729, 5.9608, 6.2176) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.52
Red Purple
#820747
ΔE00 2.70
Mulberry
#920A4E
ΔE00 3.46
Reddish Purple
#910951
ΔE00 3.92
Berry
#990F4B
ΔE00 4.36
Merlot
#730039
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B45 #1B8258
analogous
#821B78 #821B45 #82241B
triadic
#821B45 #45821B #1B4582
tetradic
#821B45 #78821B #1B8258 #241B82
square
#821B45 #78821B #1B8258 #241B82
split-complementary
#821B45 #1B8224 #1B7882
monochromatic
#1D060F #4F102A #821B45 #B52660 #D7407E
Accessibility & contrast
On white
9.58
#821B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#821B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B45
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B45 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8E052D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #821b45; /* rgb */ color: rgb(130, 27, 69); /* oklch */ color: oklch(40.9% 0.141 1.4);
Tailwind
colors: {
custom: {
50: '#ab6278',
500: '#821b45',
950: '#000000',
},
}SCSS
$custom: #821b45; $custom-light: #ab6278; $custom-dark: #000000;
JSON
{
"hex": "#821b45",
"rgb": {
"r": 130,
"g": 27,
"b": 69
},
"hsl": {
"h": 335.534,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.40907,
"c": 0.14094,
"h": 1.4
},
"luminance": 0.05959
}Semantic roles & 50–950 ramp
primary
#821B45
secondary
#43B687
accent
#E9A43F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B