#C22AA2#C22AA2
#C22AA2 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.220 H 338.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C22AA2 |
|---|---|
| RGB | rgb(194, 42, 162) |
| HSL | hsl(313, 64%, 46%) |
| HSV | hsv(313, 78%, 76%) |
| CMYK | cmyk(0%, 78.4%, 16.5%, 23.9%) |
| CIE-LAB | lab(46.63, 68.96, -29.87) |
| CIE-LCH | lch(46.63, 75.15, 336.58°) |
| OKLab | oklab(56.92% 0.2047 -0.0811) |
| OKLCH | oklch(56.92% 0.22 338.4) |
| XYZ | xyz(29.5984, 15.7368, 35.6541) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.88
Ugly Purple
#A442A0
ΔE00 5.49
Mediumvioletred
#C71585
ΔE00 5.94
Medium Purple
#9E43A2
ΔE00 6.76
Pinky Purple
#C94CBE
ΔE00 7.41
Barney
#AC1DB8
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22AA2 #2AC24A
analogous
#962AC2 #C22AA2 #C22A56
triadic
#C22AA2 #A2C22A #2AA2C2
tetradic
#C22AA2 #C2962A #2AC24A #2A56C2
square
#C22AA2 #C2962A #2AC24A #2A56C2
split-complementary
#C22AA2 #56C22A #2AC296
monochromatic
#5D144E #901F78 #C22AA2 #D950BC #E482CF
Accessibility & contrast
On white
5.06
#C22AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#C22AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22AA2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22AA2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CD3364
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c22aa2; /* rgb */ color: rgb(194, 42, 162); /* oklch */ color: oklch(56.9% 0.220 338.4);
Tailwind
colors: {
custom: {
50: '#d975be',
500: '#c22aa2',
950: '#000000',
},
}SCSS
$custom: #c22aa2; $custom-light: #d975be; $custom-dark: #000000;
JSON
{
"hex": "#c22aa2",
"rgb": {
"r": 194,
"g": 42,
"b": 162
},
"hsl": {
"h": 312.632,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.56918,
"c": 0.22016,
"h": 338.4
},
"luminance": 0.15734
}Semantic roles & 50–950 ramp
primary
#C22AA2
secondary
#7BCD8C
accent
#E76440
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81