#822A42#822A42
#822A42 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 7.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #822A42 |
|---|---|
| RGB | rgb(130, 42, 66) |
| HSL | hsl(344, 51%, 34%) |
| HSV | hsv(344, 68%, 51%) |
| CMYK | cmyk(0%, 67.7%, 49.2%, 49%) |
| CIE-LAB | lab(31.34, 39.75, 6.00) |
| CIE-LCH | lch(31.34, 40.20, 8.59°) |
| OKLab | oklab(42.38% 0.121 0.0157) |
| OKLCH | oklch(42.38% 0.122 7.4) |
| XYZ | xyz(11.0181, 6.7965, 5.8848) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 5.11
Red Wine
#8C0034
ΔE00 5.32
Berry
#990F4B
ΔE00 5.62
Purple Red
#990147
ΔE00 5.74
Wine (survey)
#80013F
ΔE00 5.85
Bordeaux
#7B002C
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822A42 #2A826A
analogous
#822A6E #822A42 #823E2A
triadic
#822A42 #42822A #2A4282
tetradic
#822A42 #6E822A #2A826A #3E2A82
square
#822A42 #6E822A #2A826A #3E2A82
split-complementary
#822A42 #2A823E #2A6E82
monochromatic
#250C13 #541B2B #822A42 #B03959 #CA5C7A
Accessibility & contrast
On white
8.90
#822A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#822A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822A42
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822A42 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#8E1D33
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #822a42; /* rgb */ color: rgb(130, 42, 66); /* oklch */ color: oklch(42.4% 0.122 7.4);
Tailwind
colors: {
custom: {
50: '#ab6976',
500: '#822a42',
950: '#000000',
},
}SCSS
$custom: #822a42; $custom-light: #ab6976; $custom-dark: #000000;
JSON
{
"hex": "#822a42",
"rgb": {
"r": 130,
"g": 42,
"b": 66
},
"hsl": {
"h": 343.636,
"s": 51.163,
"l": 33.725
},
"oklch": {
"l": 0.42376,
"c": 0.12201,
"h": 7.4
},
"luminance": 0.06795
}Semantic roles & 50–950 ramp
primary
#822A42
secondary
#58B098
accent
#DBB44D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B