#C21F4E#C21F4E
#C21F4E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 11.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C21F4E |
|---|---|
| RGB | rgb(194, 31, 78) |
| HSL | hsl(343, 72%, 44%) |
| HSV | hsv(343, 84%, 76%) |
| CMYK | cmyk(0%, 84%, 59.8%, 23.9%) |
| CIE-LAB | lab(42.77, 63.23, 16.03) |
| CIE-LCH | lch(42.77, 65.23, 14.22°) |
| OKLab | oklab(53.16% 0.1911 0.0396) |
| OKLCH | oklch(53.16% 0.195 11.7) |
| XYZ | xyz(24.1158, 13.0030, 8.4463) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.23
Lipstick
#D5174E
ΔE00 3.90
Rose Red
#BE013C
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.33
Deep Pink
#CB0162
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21F4E #1FC293
analogous
#C21FA0 #C21F4E #C2411F
triadic
#C21F4E #4EC21F #1F4EC2
tetradic
#C21F4E #A0C21F #1FC293 #411FC2
square
#C21F4E #A0C21F #1FC293 #411FC2
split-complementary
#C21F4E #1FC241 #1FA0C2
monochromatic
#580E24 #8D1739 #C21F4E #E03E6D #E97395
Accessibility & contrast
On white
5.83
#C21F4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#C21F4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21F4E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21F4E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#79714A
Tritanopia (blue-blind)
#D50035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c21f4e; /* rgb */ color: rgb(194, 31, 78); /* oklch */ color: oklch(53.2% 0.195 11.7);
Tailwind
colors: {
custom: {
50: '#dc6f7f',
500: '#c21f4e',
950: '#000000',
},
}SCSS
$custom: #c21f4e; $custom-light: #dc6f7f; $custom-dark: #000000;
JSON
{
"hex": "#c21f4e",
"rgb": {
"r": 194,
"g": 31,
"b": 78
},
"hsl": {
"h": 342.699,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.53164,
"c": 0.19513,
"h": 11.7
},
"luminance": 0.12999
}Semantic roles & 50–950 ramp
primary
#C21F4E
secondary
#6DCFB3
accent
#EFBB39
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C