#C21F59#C21F59
#C21F59 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 7.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C21F59 |
|---|---|
| RGB | rgb(194, 31, 89) |
| HSL | hsl(339, 72%, 44%) |
| HSV | hsv(339, 84%, 76%) |
| CMYK | cmyk(0%, 84%, 54.1%, 23.9%) |
| CIE-LAB | lab(43.02, 63.98, 9.47) |
| CIE-LCH | lch(43.02, 64.68, 8.42°) |
| OKLab | oklab(53.44% 0.1952 0.0243) |
| OKLCH | oklch(53.44% 0.197 7.1) |
| XYZ | xyz(24.5437, 13.1742, 10.6998) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.88
Dark Hot Pink
#D90166
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 4.85
Ruby
#CA0147
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.08
Cerise
#DE0C62
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21F59 #1FC288
analogous
#C21FAB #C21F59 #C2361F
triadic
#C21F59 #59C21F #1F59C2
tetradic
#C21F59 #ABC21F #1FC288 #361FC2
square
#C21F59 #ABC21F #1FC288 #361FC2
split-complementary
#C21F59 #1FC236 #1FABC2
monochromatic
#580E29 #8D1741 #C21F59 #E03E78 #E9739D
Accessibility & contrast
On white
5.78
#C21F59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#C21F59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21F59
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21F59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21F59 | 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)
#4E515A
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#D4003A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c21f59; /* rgb */ color: rgb(194, 31, 89); /* oklch */ color: oklch(53.4% 0.197 7.1);
Tailwind
colors: {
custom: {
50: '#db6f87',
500: '#c21f59',
950: '#000000',
},
}SCSS
$custom: #c21f59; $custom-light: #db6f87; $custom-dark: #000000;
JSON
{
"hex": "#c21f59",
"rgb": {
"r": 194,
"g": 31,
"b": 89
},
"hsl": {
"h": 338.65,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.53436,
"c": 0.19675,
"h": 7.1
},
"luminance": 0.13171
}Semantic roles & 50–950 ramp
primary
#C21F59
secondary
#6DCFAD
accent
#EFAE39
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C