#A22152#A22152
#A22152 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.167 H 3.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A22152 |
|---|---|
| RGB | rgb(162, 33, 82) |
| HSL | hsl(337, 66%, 38%) |
| HSV | hsv(337, 80%, 64%) |
| CMYK | cmyk(0%, 79.6%, 49.4%, 36.5%) |
| CIE-LAB | lab(36.71, 54.35, 4.08) |
| CIE-LCH | lch(36.71, 54.51, 4.30°) |
| OKLab | oklab(47.61% 0.1665 0.011) |
| OKLCH | oklch(47.61% 0.167 3.8) |
| XYZ | xyz(16.9686, 9.3806, 8.8981) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.94
Violet Red
#A50055
ΔE00 2.97
Purplish Red
#B0054B
ΔE00 3.56
Purple Red
#990147
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 3.92
Dark Fuchsia
#9D0759
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22152 #21A271
analogous
#A22192 #A22152 #A23021
triadic
#A22152 #52A221 #2152A2
tetradic
#A22152 #92A221 #21A271 #3021A2
square
#A22152 #92A221 #21A271 #3021A2
split-complementary
#A22152 #21A230 #2192A2
monochromatic
#3C0C1F #6F1738 #A22152 #D42C6C #DE5F8F
Accessibility & contrast
On white
7.30
#A22152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A22152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22152
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22152 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a22152; /* rgb */ color: rgb(162, 33, 82); /* oklch */ color: oklch(47.6% 0.167 3.8);
Tailwind
colors: {
custom: {
50: '#c36a82',
500: '#a22152',
950: '#000000',
},
}SCSS
$custom: #a22152; $custom-light: #c36a82; $custom-dark: #000000;
JSON
{
"hex": "#a22152",
"rgb": {
"r": 162,
"g": 33,
"b": 82
},
"hsl": {
"h": 337.209,
"s": 66.154,
"l": 38.235
},
"oklch": {
"l": 0.47613,
"c": 0.1669,
"h": 3.8
},
"luminance": 0.09378
}Semantic roles & 50–950 ramp
primary
#A22152
secondary
#5CC39C
accent
#E9A83F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C