#C22151#C22151
#C22151 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.194 H 10.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C22151 |
|---|---|
| RGB | rgb(194, 33, 81) |
| HSL | hsl(342, 71%, 45%) |
| HSV | hsv(342, 83%, 76%) |
| CMYK | cmyk(0%, 83%, 58.2%, 23.9%) |
| CIE-LAB | lab(43.00, 62.96, 14.45) |
| CIE-LCH | lch(43.00, 64.60, 12.93°) |
| OKLab | oklab(53.35% 0.1907 0.0361) |
| OKLCH | oklch(53.35% 0.194 10.7) |
| XYZ | xyz(24.2797, 13.1548, 9.0437) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.87
Lipstick
#D5174E
ΔE00 4.17
Rose Red
#BE013C
ΔE00 4.95
Deep Pink
#CB0162
ΔE00 5.10
Purplish Red
#B0054B
ΔE00 5.19
Raspberry (survey)
#B00149
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22151 #21C292
analogous
#C221A2 #C22151 #C24221
triadic
#C22151 #51C221 #2151C2
tetradic
#C22151 #A2C221 #21C292 #4221C2
square
#C22151 #A2C221 #21C292 #4221C2
split-complementary
#C22151 #21C242 #21A2C2
monochromatic
#590F25 #8E183B #C22151 #DF4170 #E87698
Accessibility & contrast
On white
5.78
#C22151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#C22151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22151
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22151 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#79714D
Tritanopia (blue-blind)
#D40037
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c22151; /* rgb */ color: rgb(194, 33, 81); /* oklch */ color: oklch(53.4% 0.194 10.7);
Tailwind
colors: {
custom: {
50: '#dc6f81',
500: '#c22151',
950: '#000000',
},
}SCSS
$custom: #c22151; $custom-light: #dc6f81; $custom-dark: #000000;
JSON
{
"hex": "#c22151",
"rgb": {
"r": 194,
"g": 33,
"b": 81
},
"hsl": {
"h": 342.112,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.53353,
"c": 0.19411,
"h": 10.7
},
"luminance": 0.13151
}Semantic roles & 50–950 ramp
primary
#C22151
secondary
#70CFB3
accent
#EEB83A
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C