#C21F4F#C21F4F
#C21F4F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 11.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C21F4F |
|---|---|
| RGB | rgb(194, 31, 79) |
| HSL | hsl(342, 72%, 44%) |
| HSV | hsv(342, 84%, 76%) |
| CMYK | cmyk(0%, 84%, 59.3%, 23.9%) |
| CIE-LAB | lab(42.79, 63.29, 15.43) |
| CIE-LCH | lch(42.79, 65.14, 13.70°) |
| OKLab | oklab(53.19% 0.1915 0.0383) |
| OKLCH | oklch(53.19% 0.195 11.3) |
| XYZ | xyz(24.1519, 13.0175, 8.6365) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.45
Lipstick
#D5174E
ΔE00 4.02
Rose Red
#BE013C
ΔE00 4.48
Raspberry (survey)
#B00149
ΔE00 5.17
Purplish Red
#B0054B
ΔE00 5.21
Deep Pink
#CB0162
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21F4F #1FC292
analogous
#C21FA1 #C21F4F #C2411F
triadic
#C21F4F #4FC21F #1F4FC2
tetradic
#C21F4F #A1C21F #1FC292 #411FC2
square
#C21F4F #A1C21F #1FC292 #411FC2
split-complementary
#C21F4F #1FC241 #1FA1C2
monochromatic
#580E24 #8D173A #C21F4F #E03E6E #E97395
Accessibility & contrast
On white
5.83
#C21F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#C21F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21F4F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21F4F | 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)
#505050
Deuteranopia (green-blind)
#79714B
Tritanopia (blue-blind)
#D50035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c21f4f; /* rgb */ color: rgb(194, 31, 79); /* oklch */ color: oklch(53.2% 0.195 11.3);
Tailwind
colors: {
custom: {
50: '#dc6f80',
500: '#c21f4f',
950: '#000000',
},
}SCSS
$custom: #c21f4f; $custom-light: #dc6f80; $custom-dark: #000000;
JSON
{
"hex": "#c21f4f",
"rgb": {
"r": 194,
"g": 31,
"b": 79
},
"hsl": {
"h": 342.331,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.53187,
"c": 0.19525,
"h": 11.3
},
"luminance": 0.13014
}Semantic roles & 50–950 ramp
primary
#C21F4F
secondary
#6DCFB3
accent
#EFB939
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C