#A22C99#A22C99
#A22C99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 331.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A22C99 |
|---|---|
| RGB | rgb(162, 44, 153) |
| HSL | hsl(305, 57%, 40%) |
| HSV | hsv(305, 73%, 64%) |
| CMYK | cmyk(0%, 72.8%, 5.6%, 36.5%) |
| CIE-LAB | lab(40.87, 59.76, -33.90) |
| CIE-LCH | lch(40.87, 68.70, 330.43°) |
| OKLab | oklab(51.59% 0.1706 -0.0933) |
| OKLCH | oklch(51.59% 0.194 331.3) |
| XYZ | xyz(21.5507, 11.7844, 31.2704) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.62
Barney Purple
#A00498
ΔE00 3.61
Ugly Purple
#A442A0
ΔE00 4.04
Medium Purple
#9E43A2
ΔE00 4.13
Barney
#AC1DB8
ΔE00 5.19
Purply
#983FB2
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22C99 #2CA235
analogous
#702CA2 #A22C99 #A22C5E
triadic
#A22C99 #99A22C #2C99A2
tetradic
#A22C99 #A2702C #2CA235 #2C5EA2
square
#A22C99 #A2702C #2CA235 #2C5EA2
split-complementary
#A22C99 #5EA22C #2CA270
monochromatic
#42123E #721F6C #A22C99 #CB40C1 #D870D0
Accessibility & contrast
On white
6.26
#A22C99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#A22C99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22C99
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22C99 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A93A60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22c99; /* rgb */ color: rgb(162, 44, 153); /* oklch */ color: oklch(51.6% 0.194 331.3);
Tailwind
colors: {
custom: {
50: '#c171b7',
500: '#a22c99',
950: '#000000',
},
}SCSS
$custom: #a22c99; $custom-light: #c171b7; $custom-dark: #000000;
JSON
{
"hex": "#a22c99",
"rgb": {
"r": 162,
"g": 44,
"b": 153
},
"hsl": {
"h": 304.576,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.51591,
"c": 0.19448,
"h": 331.3
},
"luminance": 0.11783
}Semantic roles & 50–950 ramp
primary
#A22C99
secondary
#6ABF71
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80