#A22F5E#A22F5E
#A22F5E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.155 H 359.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F5E |
|---|---|
| RGB | rgb(162, 47, 94) |
| HSL | hsl(335, 55%, 41%) |
| HSV | hsv(335, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 42%, 36.5%) |
| CIE-LAB | lab(38.77, 50.73, -0.59) |
| CIE-LCH | lch(38.77, 50.74, 359.34°) |
| OKLab | oklab(49.25% 0.1555 -0.0009) |
| OKLCH | oklch(49.25% 0.155 359.7) |
| XYZ | xyz(17.9385, 10.5248, 11.6743) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.22
Dark Fuchsia
#9D0759
ΔE00 4.90
Deep Magenta
#A0025C
ΔE00 5.00
Berry
#990F4B
ΔE00 5.22
Light Burgundy
#A8415B
ΔE00 5.62
Purplish Red
#B0054B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F5E #2FA273
analogous
#A22F97 #A22F5E #A2392F
triadic
#A22F5E #5EA22F #2F5EA2
tetradic
#A22F5E #97A22F #2FA273 #392FA2
square
#A22F5E #97A22F #2FA273 #392FA2
split-complementary
#A22F5E #2FA239 #2F97A2
monochromatic
#431327 #732142 #A22F5E #C9457B #D7759D
Accessibility & contrast
On white
6.76
#A22F5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A22F5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22F5E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F5E | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#66635B
Tritanopia (blue-blind)
#B02043
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a22f5e; /* rgb */ color: rgb(162, 47, 94); /* oklch */ color: oklch(49.2% 0.155 359.7);
Tailwind
colors: {
custom: {
50: '#c2718b',
500: '#a22f5e',
950: '#000000',
},
}SCSS
$custom: #a22f5e; $custom-light: #c2718b; $custom-dark: #000000;
JSON
{
"hex": "#a22f5e",
"rgb": {
"r": 162,
"g": 47,
"b": 94
},
"hsl": {
"h": 335.478,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.49248,
"c": 0.15549,
"h": 359.7
},
"luminance": 0.10523
}Semantic roles & 50–950 ramp
primary
#A22F5E
secondary
#6EBF9E
accent
#DEA149
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D