#A22147#A22147
#A22147 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 9.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A22147 |
|---|---|
| RGB | rgb(162, 33, 71) |
| HSL | hsl(342, 66%, 38%) |
| HSV | hsv(342, 80%, 64%) |
| CMYK | cmyk(0%, 79.6%, 56.2%, 36.5%) |
| CIE-LAB | lab(36.42, 53.46, 10.76) |
| CIE-LCH | lch(36.42, 54.53, 11.38°) |
| OKLab | oklab(47.31% 0.1624 0.0272) |
| OKLCH | oklch(47.31% 0.165 9.5) |
| XYZ | xyz(16.5831, 9.2264, 6.8677) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.77
Purplish Red
#B0054B
ΔE00 2.84
Cranberry
#9E003A
ΔE00 3.39
Berry
#990F4B
ΔE00 4.69
Rouge
#AB1239
ΔE00 4.70
Purple Red
#990147
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22147 #21A27C
analogous
#A22187 #A22147 #A23C21
triadic
#A22147 #47A221 #2147A2
tetradic
#A22147 #87A221 #21A27C #3C21A2
square
#A22147 #87A221 #21A27C #3C21A2
split-complementary
#A22147 #21A23C #2187A2
monochromatic
#3C0C1A #6F1731 #A22147 #D42C5E #DE5F85
Accessibility & contrast
On white
7.38
#A22147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A22147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22147
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22147 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#655F44
Tritanopia (blue-blind)
#B10032
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a22147; /* rgb */ color: rgb(162, 33, 71); /* oklch */ color: oklch(47.3% 0.165 9.5);
Tailwind
colors: {
custom: {
50: '#c46a79',
500: '#a22147',
950: '#000000',
},
}SCSS
$custom: #a22147; $custom-light: #c46a79; $custom-dark: #000000;
JSON
{
"hex": "#a22147",
"rgb": {
"r": 162,
"g": 33,
"b": 71
},
"hsl": {
"h": 342.326,
"s": 66.154,
"l": 38.235
},
"oklch": {
"l": 0.47305,
"c": 0.16462,
"h": 9.5
},
"luminance": 0.09224
}Semantic roles & 50–950 ramp
primary
#A22147
secondary
#5CC3A5
accent
#E9B73F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B