#A22951#A22951
#A22951 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.159 H 5.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A22951 |
|---|---|
| RGB | rgb(162, 41, 81) |
| HSL | hsl(340, 60%, 40%) |
| HSV | hsv(340, 75%, 64%) |
| CMYK | cmyk(0%, 74.7%, 50%, 36.5%) |
| CIE-LAB | lab(37.60, 51.68, 6.00) |
| CIE-LCH | lch(37.60, 52.03, 6.62°) |
| OKLab | oklab(48.26% 0.1579 0.0158) |
| OKLCH | oklch(48.26% 0.159 5.7) |
| XYZ | xyz(17.1799, 9.8637, 8.7822) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.44
Raspberry (survey)
#B00149
ΔE00 3.74
Berry
#990F4B
ΔE00 4.09
Violet Red
#A50055
ΔE00 4.46
Purple Red
#990147
ΔE00 4.66
Light Burgundy
#A8415B
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22951 #29A27A
analogous
#A2298E #A22951 #A23D29
triadic
#A22951 #51A229 #2951A2
tetradic
#A22951 #8EA229 #29A27A #3D29A2
square
#A22951 #8EA229 #29A27A #3D29A2
split-complementary
#A22951 #29A23D #298EA2
monochromatic
#401020 #711D39 #A22951 #CD3B6B #DA6C90
Accessibility & contrast
On white
7.07
#A22951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A22951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22951
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22951 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B10E3A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a22951; /* rgb */ color: rgb(162, 41, 81); /* oklch */ color: oklch(48.3% 0.159 5.7);
Tailwind
colors: {
custom: {
50: '#c36d81',
500: '#a22951',
950: '#000000',
},
}SCSS
$custom: #a22951; $custom-light: #c36d81; $custom-dark: #000000;
JSON
{
"hex": "#a22951",
"rgb": {
"r": 162,
"g": 41,
"b": 81
},
"hsl": {
"h": 340.165,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.48259,
"c": 0.15863,
"h": 5.7
},
"luminance": 0.09861
}Semantic roles & 50–950 ramp
primary
#A22951
secondary
#67C0A3
accent
#E3AF45
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C