#C22FA3#C22FA3
#C22FA3 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.216 H 338.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C22FA3 |
|---|---|
| RGB | rgb(194, 47, 163) |
| HSL | hsl(313, 61%, 47%) |
| HSV | hsv(313, 76%, 76%) |
| CMYK | cmyk(0%, 75.8%, 16%, 23.9%) |
| CIE-LAB | lab(47.17, 67.68, -29.62) |
| CIE-LCH | lch(47.17, 73.88, 336.36°) |
| OKLab | oklab(57.32% 0.2005 -0.0804) |
| OKLCH | oklch(57.32% 0.216 338.1) |
| XYZ | xyz(29.8762, 16.1496, 36.1870) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.42
Ugly Purple
#A442A0
ΔE00 5.44
Mediumvioletred
#C71585
ΔE00 6.18
Medium Purple
#9E43A2
ΔE00 6.74
Pinky Purple
#C94CBE
ΔE00 6.85
Barney
#AC1DB8
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22FA3 #2FC24E
analogous
#982FC2 #C22FA3 #C22F5A
triadic
#C22FA3 #A3C22F #2FA3C2
tetradic
#C22FA3 #C2982F #2FC24E #2F5AC2
square
#C22FA3 #C2982F #2FC24E #2F5AC2
split-complementary
#C22FA3 #5AC22F #2FC298
monochromatic
#5F1750 #91237A #C22FA3 #D658BC #E289D0
Accessibility & contrast
On white
4.97
#C22FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#C22FA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22FA3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22FA3 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#CD3766
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c22fa3; /* rgb */ color: rgb(194, 47, 163); /* oklch */ color: oklch(57.3% 0.216 338.1);
Tailwind
colors: {
custom: {
50: '#d977be',
500: '#c22fa3',
950: '#000000',
},
}SCSS
$custom: #c22fa3; $custom-light: #d977be; $custom-dark: #000000;
JSON
{
"hex": "#c22fa3",
"rgb": {
"r": 194,
"g": 47,
"b": 163
},
"hsl": {
"h": 312.653,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.57324,
"c": 0.21602,
"h": 338.1
},
"luminance": 0.16147
}Semantic roles & 50–950 ramp
primary
#C22FA3
secondary
#81CC91
accent
#E46644
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81