#C21F5D#C21F5D
#C21F5D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.198 H 5.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C21F5D |
|---|---|
| RGB | rgb(194, 31, 93) |
| HSL | hsl(337, 72%, 44%) |
| HSV | hsv(337, 84%, 76%) |
| CMYK | cmyk(0%, 84%, 52.1%, 23.9%) |
| CIE-LAB | lab(43.13, 64.28, 7.11) |
| CIE-LCH | lch(43.13, 64.67, 6.31°) |
| OKLab | oklab(53.55% 0.1967 0.0186) |
| OKLCH | oklch(53.55% 0.198 5.4) |
| XYZ | xyz(24.7162, 13.2432, 11.6085) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.05
Dark Hot Pink
#D90166
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 5.16
Cerise
#DE0C62
ΔE00 5.34
Raspberry (survey)
#B00149
ΔE00 5.47
Light Burgundy
#A8415B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21F5D #1FC284
analogous
#C21FAF #C21F5D #C2331F
triadic
#C21F5D #5DC21F #1F5DC2
tetradic
#C21F5D #AFC21F #1FC284 #331FC2
square
#C21F5D #AFC21F #1FC284 #331FC2
split-complementary
#C21F5D #1FC233 #1FAFC2
monochromatic
#580E2A #8D1744 #C21F5D #E03E7C #E973A0
Accessibility & contrast
On white
5.76
#C21F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#C21F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21F5D
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21F5D | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#D4003C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c21f5d; /* rgb */ color: rgb(194, 31, 93); /* oklch */ color: oklch(53.5% 0.198 5.4);
Tailwind
colors: {
custom: {
50: '#db6f8a',
500: '#c21f5d',
950: '#000000',
},
}SCSS
$custom: #c21f5d; $custom-light: #db6f8a; $custom-dark: #000000;
JSON
{
"hex": "#c21f5d",
"rgb": {
"r": 194,
"g": 31,
"b": 93
},
"hsl": {
"h": 337.178,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.53545,
"c": 0.19758,
"h": 5.4
},
"luminance": 0.1324
}Semantic roles & 50–950 ramp
primary
#C21F5D
secondary
#6DCFAA
accent
#EFAA39
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C