#C22D9A#C22D9A
#C22D9A is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.212 H 341.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C22D9A |
|---|---|
| RGB | rgb(194, 45, 154) |
| HSL | hsl(316, 62%, 47%) |
| HSV | hsv(316, 77%, 76%) |
| CMYK | cmyk(0%, 76.8%, 20.6%, 23.9%) |
| CIE-LAB | lab(46.55, 67.05, -25.21) |
| CIE-LCH | lch(46.55, 71.63, 339.40°) |
| OKLab | oklab(56.75% 0.2012 -0.0679) |
| OKLCH | oklch(56.75% 0.212 341.4) |
| XYZ | xyz(29.0202, 15.6822, 32.0642) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.54
Purpley Pink
#C83CB9
ΔE00 5.94
Ugly Purple
#A442A0
ΔE00 6.11
Magenta (survey)
#C20078
ΔE00 7.01
Medium Purple
#9E43A2
ΔE00 7.49
Pinky Purple
#C94CBE
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22D9A #2DC255
analogous
#9F2DC2 #C22D9A #C22D50
triadic
#C22D9A #9AC22D #2D9AC2
tetradic
#C22D9A #C29F2D #2DC255 #2D50C2
square
#C22D9A #C29F2D #2DC255 #2D50C2
split-complementary
#C22D9A #50C22D #2DC29F
monochromatic
#5F164B #902173 #C22D9A #D755B4 #E386CA
Accessibility & contrast
On white
5.08
#C22D9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#C22D9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22D9A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22D9A | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5F9D
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#CE3061
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c22d9a; /* rgb */ color: rgb(194, 45, 154); /* oklch */ color: oklch(56.7% 0.212 341.4);
Tailwind
colors: {
custom: {
50: '#d976b8',
500: '#c22d9a',
950: '#000000',
},
}SCSS
$custom: #c22d9a; $custom-light: #d976b8; $custom-dark: #000000;
JSON
{
"hex": "#c22d9a",
"rgb": {
"r": 194,
"g": 45,
"b": 154
},
"hsl": {
"h": 316.107,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.56746,
"c": 0.21229,
"h": 341.4
},
"luminance": 0.15679
}Semantic roles & 50–950 ramp
primary
#C22D9A
secondary
#7ECD93
accent
#E56E42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80