#821542#821542
#821542 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.146 H 2.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #821542 |
|---|---|
| RGB | rgb(130, 21, 66) |
| HSL | hsl(335, 72%, 30%) |
| HSV | hsv(335, 84%, 51%) |
| CMYK | cmyk(0%, 83.8%, 49.2%, 49%) |
| CIE-LAB | lab(28.58, 47.43, 2.06) |
| CIE-LCH | lch(28.58, 47.47, 2.48°) |
| OKLab | oklab(40.34% 0.1456 0.0058) |
| OKLCH | oklch(40.34% 0.146 2.3) |
| XYZ | xyz(10.4584, 5.6770, 5.6983) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.83
Red Purple
#820747
ΔE00 2.64
Mulberry
#920A4E
ΔE00 3.63
Merlot
#730039
ΔE00 3.87
Reddish Purple
#910951
ΔE00 4.17
Purple Red
#990147
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821542 #158255
analogous
#821579 #821542 #821E15
triadic
#821542 #428215 #154282
tetradic
#821542 #798215 #158255 #1E1582
square
#821542 #798215 #158255 #1E1582
split-complementary
#821542 #15821E #157982
monochromatic
#1A040D #4D0C27 #821542 #B71E5D #DE337A
Accessibility & contrast
On white
9.84
#821542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#821542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821542
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821542 | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#8E002A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #821542; /* rgb */ color: rgb(130, 21, 66); /* oklch */ color: oklch(40.3% 0.146 2.3);
Tailwind
colors: {
custom: {
50: '#ac6076',
500: '#821542',
950: '#000000',
},
}SCSS
$custom: #821542; $custom-light: #ac6076; $custom-dark: #000000;
JSON
{
"hex": "#821542",
"rgb": {
"r": 130,
"g": 21,
"b": 66
},
"hsl": {
"h": 335.229,
"s": 72.185,
"l": 29.608
},
"oklch": {
"l": 0.4034,
"c": 0.14573,
"h": 2.3
},
"luminance": 0.05676
}Semantic roles & 50–950 ramp
primary
#821542
secondary
#3CB784
accent
#EFA439
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B