#A22251#A22251
#A22251 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.166 H 4.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A22251 |
|---|---|
| RGB | rgb(162, 34, 81) |
| HSL | hsl(338, 65%, 38%) |
| HSV | hsv(338, 79%, 64%) |
| CMYK | cmyk(0%, 79%, 50%, 36.5%) |
| CIE-LAB | lab(36.78, 53.97, 4.84) |
| CIE-LCH | lch(36.78, 54.18, 5.12°) |
| OKLab | oklab(47.66% 0.1652 0.0129) |
| OKLCH | oklch(47.66% 0.166 4.5) |
| XYZ | xyz(16.9590, 9.4219, 8.7086) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.10
Violet Red
#A50055
ΔE00 3.32
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.69
Purple Red
#990147
ΔE00 3.74
Dark Fuchsia
#9D0759
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22251 #22A273
analogous
#A22291 #A22251 #A23322
triadic
#A22251 #51A222 #2251A2
tetradic
#A22251 #91A222 #22A273 #3322A2
square
#A22251 #91A222 #22A273 #3322A2
split-complementary
#A22251 #22A233 #2291A2
monochromatic
#3D0D1E #6F1738 #A22251 #D32E6B #DE618F
Accessibility & contrast
On white
7.28
#A22251 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A22251 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22251
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22251 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#64604E
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a22251; /* rgb */ color: rgb(162, 34, 81); /* oklch */ color: oklch(47.7% 0.166 4.5);
Tailwind
colors: {
custom: {
50: '#c36b81',
500: '#a22251',
950: '#000000',
},
}SCSS
$custom: #a22251; $custom-light: #c36b81; $custom-dark: #000000;
JSON
{
"hex": "#a22251",
"rgb": {
"r": 162,
"g": 34,
"b": 81
},
"hsl": {
"h": 337.969,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.4766,
"c": 0.16571,
"h": 4.5
},
"luminance": 0.0942
}Semantic roles & 50–950 ramp
primary
#A22251
secondary
#5DC39D
accent
#E8AA40
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C