#C22D9B#C22D9B
#C22D9B is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.213 H 341.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C22D9B |
|---|---|
| RGB | rgb(194, 45, 155) |
| HSL | hsl(316, 62%, 47%) |
| HSV | hsv(316, 77%, 76%) |
| CMYK | cmyk(0%, 76.8%, 20.1%, 23.9%) |
| CIE-LAB | lab(46.60, 67.18, -25.74) |
| CIE-LCH | lch(46.60, 71.94, 339.04°) |
| OKLab | oklab(56.79% 0.2013 -0.0694) |
| OKLCH | oklch(56.79% 0.213 341) |
| XYZ | xyz(29.1038, 15.7157, 32.5047) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.72
Purpley Pink
#C83CB9
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 6.01
Magenta (survey)
#C20078
ΔE00 7.18
Medium Purple
#9E43A2
ΔE00 7.38
Pinky Purple
#C94CBE
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22D9B #2DC254
analogous
#9F2DC2 #C22D9B #C22D50
triadic
#C22D9B #9BC22D #2D9BC2
tetradic
#C22D9B #C29F2D #2DC254 #2D50C2
square
#C22D9B #C29F2D #2DC254 #2D50C2
split-complementary
#C22D9B #50C22D #2DC29F
monochromatic
#5F164C #902173 #C22D9B #D755B5 #E386CB
Accessibility & contrast
On white
5.07
#C22D9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#C22D9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22D9B
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22D9B | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#CE3161
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c22d9b; /* rgb */ color: rgb(194, 45, 155); /* oklch */ color: oklch(56.8% 0.213 341.0);
Tailwind
colors: {
custom: {
50: '#d976b8',
500: '#c22d9b',
950: '#000000',
},
}SCSS
$custom: #c22d9b; $custom-light: #d976b8; $custom-dark: #000000;
JSON
{
"hex": "#c22d9b",
"rgb": {
"r": 194,
"g": 45,
"b": 155
},
"hsl": {
"h": 315.705,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.56793,
"c": 0.2129,
"h": 341
},
"luminance": 0.15713
}Semantic roles & 50–950 ramp
primary
#C22D9B
secondary
#7ECD93
accent
#E56D42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80