#A22F52#A22F52
#A22F52 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.152 H 6.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F52 |
|---|---|
| RGB | rgb(162, 47, 82) |
| HSL | hsl(342, 55%, 41%) |
| HSV | hsv(342, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 49.4%, 36.5%) |
| CIE-LAB | lab(38.42, 49.56, 6.53) |
| CIE-LCH | lch(38.42, 49.98, 7.51°) |
| OKLab | oklab(48.88% 0.1511 0.0171) |
| OKLCH | oklch(48.88% 0.152 6.5) |
| XYZ | xyz(17.4412, 10.3259, 9.0557) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.96
Light Burgundy
#A8415B
ΔE00 4.01
Raspberry (survey)
#B00149
ΔE00 4.22
Berry
#990F4B
ΔE00 5.04
Violet Red
#A50055
ΔE00 5.41
Purple Red
#990147
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F52 #2FA27F
analogous
#A22F8B #A22F52 #A2452F
triadic
#A22F52 #52A22F #2F52A2
tetradic
#A22F52 #8BA22F #2FA27F #452FA2
square
#A22F52 #8BA22F #2FA27F #452FA2
split-complementary
#A22F52 #2FA245 #2F8BA2
monochromatic
#431322 #73213A #A22F52 #C9456D #D77592
Accessibility & contrast
On white
6.85
#A22F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A22F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22F52
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F52 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#B01A3D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a22f52; /* rgb */ color: rgb(162, 47, 82); /* oklch */ color: oklch(48.9% 0.152 6.5);
Tailwind
colors: {
custom: {
50: '#c37082',
500: '#a22f52',
950: '#000000',
},
}SCSS
$custom: #a22f52; $custom-light: #c37082; $custom-dark: #000000;
JSON
{
"hex": "#a22f52",
"rgb": {
"r": 162,
"g": 47,
"b": 82
},
"hsl": {
"h": 341.739,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.48877,
"c": 0.15208,
"h": 6.5
},
"luminance": 0.10324
}Semantic roles & 50–950 ramp
primary
#A22F52
secondary
#6EBFA6
accent
#DEB149
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#13080A
muted
#827B7C