#C22166#C22166
#C22166 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 1.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C22166 |
|---|---|
| RGB | rgb(194, 33, 102) |
| HSL | hsl(334, 71%, 45%) |
| HSV | hsv(334, 83%, 76%) |
| CMYK | cmyk(0%, 83%, 47.4%, 23.9%) |
| CIE-LAB | lab(43.54, 64.56, 2.06) |
| CIE-LCH | lch(43.54, 64.59, 1.83°) |
| OKLab | oklab(53.93% 0.1984 0.006) |
| OKLCH | oklch(53.93% 0.198 1.7) |
| XYZ | xyz(25.1924, 13.5199, 13.8508) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 1.96
Dark Hot Pink
#D90166
ΔE00 4.26
Magenta (survey)
#C20078
ΔE00 5.51
Dark Pink
#CB416B
ΔE00 6.07
Cerise
#DE0C62
ΔE00 6.09
Purplish Red
#B0054B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22166 #21C27D
analogous
#C221B6 #C22166 #C22D21
triadic
#C22166 #66C221 #2166C2
tetradic
#C22166 #B6C221 #21C27D #2D21C2
square
#C22166 #B6C221 #21C27D #2D21C2
split-complementary
#C22166 #21C22D #21B6C2
monochromatic
#590F2F #8E184B #C22166 #DF4185 #E876A7
Accessibility & contrast
On white
5.67
#C22166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#C22166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22166
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22166 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5367
Deuteranopia (green-blind)
#767262
Tritanopia (blue-blind)
#D30041
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c22166; /* rgb */ color: rgb(194, 33, 102); /* oklch */ color: oklch(53.9% 0.198 1.7);
Tailwind
colors: {
custom: {
50: '#db7091',
500: '#c22166',
950: '#000000',
},
}SCSS
$custom: #c22166; $custom-light: #db7091; $custom-dark: #000000;
JSON
{
"hex": "#c22166",
"rgb": {
"r": 194,
"g": 33,
"b": 102
},
"hsl": {
"h": 334.286,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.53926,
"c": 0.19847,
"h": 1.7
},
"luminance": 0.13516
}Semantic roles & 50–950 ramp
primary
#C22166
secondary
#70CFA6
accent
#EEA13A
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D