#A22A4D#A22A4D
#A22A4D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.157 H 8.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A4D |
|---|---|
| RGB | rgb(162, 42, 77) |
| HSL | hsl(343, 59%, 40%) |
| HSV | hsv(343, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 52.5%, 36.5%) |
| CIE-LAB | lab(37.62, 50.98, 8.58) |
| CIE-LCH | lch(37.62, 51.70, 9.56°) |
| OKLab | oklab(48.24% 0.1552 0.0221) |
| OKLCH | oklch(48.24% 0.157 8.1) |
| XYZ | xyz(17.0693, 9.8755, 8.0271) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.42
Berry
#990F4B
ΔE00 4.82
Light Burgundy
#A8415B
ΔE00 4.82
Cranberry
#9E003A
ΔE00 4.95
Purple Red
#990147
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A4D #2AA27F
analogous
#A22A89 #A22A4D #A2432A
triadic
#A22A4D #4DA22A #2A4DA2
tetradic
#A22A4D #89A22A #2AA27F #432AA2
square
#A22A4D #89A22A #2AA27F #432AA2
split-complementary
#A22A4D #2AA243 #2A89A2
monochromatic
#41111F #711D36 #A22A4D #CD3D67 #D96D8D
Accessibility & contrast
On white
7.06
#A22A4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A22A4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22A4D
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A4D | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494E
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#B10D39
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a22a4d; /* rgb */ color: rgb(162, 42, 77); /* oklch */ color: oklch(48.2% 0.157 8.1);
Tailwind
colors: {
custom: {
50: '#c36e7e',
500: '#a22a4d',
950: '#000000',
},
}SCSS
$custom: #a22a4d; $custom-light: #c36e7e; $custom-dark: #000000;
JSON
{
"hex": "#a22a4d",
"rgb": {
"r": 162,
"g": 42,
"b": 77
},
"hsl": {
"h": 342.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.4824,
"c": 0.15674,
"h": 8.1
},
"luminance": 0.09873
}Semantic roles & 50–950 ramp
primary
#A22A4D
secondary
#68C0A6
accent
#E2B446
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B