#C21F58#C21F58
#C21F58 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 7.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C21F58 |
|---|---|
| RGB | rgb(194, 31, 88) |
| HSL | hsl(339, 72%, 44%) |
| HSV | hsv(339, 84%, 76%) |
| CMYK | cmyk(0%, 84%, 54.6%, 23.9%) |
| CIE-LAB | lab(43.00, 63.91, 10.07) |
| CIE-LCH | lch(43.00, 64.70, 8.95°) |
| OKLab | oklab(53.41% 0.1949 0.0257) |
| OKLCH | oklch(53.41% 0.197 7.5) |
| XYZ | xyz(24.5020, 13.1575, 10.4801) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.12
Dark Hot Pink
#D90166
ΔE00 4.59
Ruby
#CA0147
ΔE00 4.76
Purplish Red
#B0054B
ΔE00 4.81
Raspberry (survey)
#B00149
ΔE00 5.01
Cerise
#DE0C62
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21F58 #1FC289
analogous
#C21FAA #C21F58 #C2371F
triadic
#C21F58 #58C21F #1F58C2
tetradic
#C21F58 #AAC21F #1FC289 #371FC2
square
#C21F58 #AAC21F #1FC289 #371FC2
split-complementary
#C21F58 #1FC237 #1FAAC2
monochromatic
#580E28 #8D1740 #C21F58 #E03E77 #E9739C
Accessibility & contrast
On white
5.78
#C21F58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#C21F58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21F58
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21F58 | 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)
#4E5159
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#D4003A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c21f58; /* rgb */ color: rgb(194, 31, 88); /* oklch */ color: oklch(53.4% 0.197 7.5);
Tailwind
colors: {
custom: {
50: '#dc6f86',
500: '#c21f58',
950: '#000000',
},
}SCSS
$custom: #c21f58; $custom-light: #dc6f86; $custom-dark: #000000;
JSON
{
"hex": "#c21f58",
"rgb": {
"r": 194,
"g": 31,
"b": 88
},
"hsl": {
"h": 339.018,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.5341,
"c": 0.19656,
"h": 7.5
},
"luminance": 0.13154
}Semantic roles & 50–950 ramp
primary
#C21F58
secondary
#6DCFAD
accent
#EFAF39
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C