#822142#822142
#822142 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.133 H 4.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #822142 |
|---|---|
| RGB | rgb(130, 33, 66) |
| HSL | hsl(340, 60%, 32%) |
| HSV | hsv(340, 75%, 51%) |
| CMYK | cmyk(0%, 74.6%, 49.2%, 49%) |
| CIE-LAB | lab(29.98, 43.49, 4.07) |
| CIE-LCH | lch(29.98, 43.68, 5.35°) |
| OKLab | oklab(41.37% 0.1329 0.0108) |
| OKLCH | oklch(41.37% 0.133 4.7) |
| XYZ | xyz(10.7340, 6.2283, 5.7901) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.79
Red Purple
#820747
ΔE00 4.55
Berry
#990F4B
ΔE00 4.58
Purple Red
#990147
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.71
Red Wine
#8C0034
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822142 #218261
analogous
#822173 #822142 #823121
triadic
#822142 #428221 #214282
tetradic
#822142 #738221 #218261 #312182
square
#822142 #738221 #218261 #312182
split-complementary
#822142 #218231 #217382
monochromatic
#200810 #511529 #822142 #B32D5B #D24C79
Accessibility & contrast
On white
9.35
#822142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#822142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822142
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822142 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#514E40
Tritanopia (blue-blind)
#8E0F2F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #822142; /* rgb */ color: rgb(130, 33, 66); /* oklch */ color: oklch(41.4% 0.133 4.7);
Tailwind
colors: {
custom: {
50: '#ab6576',
500: '#822142',
950: '#000000',
},
}SCSS
$custom: #822142; $custom-light: #ab6576; $custom-dark: #000000;
JSON
{
"hex": "#822142",
"rgb": {
"r": 130,
"g": 33,
"b": 66
},
"hsl": {
"h": 339.588,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.41369,
"c": 0.13338,
"h": 4.7
},
"luminance": 0.06227
}Semantic roles & 50–950 ramp
primary
#822142
secondary
#4AB490
accent
#E3AD45
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B