#C21B4E#C21B4E
#C21B4E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.198 H 11.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C21B4E |
|---|---|
| RGB | rgb(194, 27, 78) |
| HSL | hsl(342, 76%, 43%) |
| HSV | hsv(342, 86%, 76%) |
| CMYK | cmyk(0%, 86.1%, 59.8%, 23.9%) |
| CIE-LAB | lab(42.47, 64.08, 15.63) |
| CIE-LCH | lch(42.47, 65.96, 13.70°) |
| OKLab | oklab(52.95% 0.1938 0.0387) |
| OKLCH | oklch(52.95% 0.198 11.3) |
| XYZ | xyz(24.0178, 12.8069, 8.4136) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.34
Lipstick
#D5174E
ΔE00 4.17
Rose Red
#BE013C
ΔE00 4.28
Raspberry (survey)
#B00149
ΔE00 4.92
Purplish Red
#B0054B
ΔE00 4.98
Deep Pink
#CB0162
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C21B4E #1BC28F
analogous
#C21BA1 #C21B4E #C23C1B
triadic
#C21B4E #4EC21B #1B4EC2
tetradic
#C21B4E #A1C21B #1BC28F #3C1BC2
square
#C21B4E #A1C21B #1BC28F #3C1BC2
split-complementary
#C21B4E #1BC23C #1BA1C2
monochromatic
#570C23 #8C1438 #C21B4E #E3376C #EB6D93
Accessibility & contrast
On white
5.90
#C21B4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#C21B4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C21B4E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C21B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C21B4E | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#79704A
Tritanopia (blue-blind)
#D50033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #c21b4e; /* rgb */ color: rgb(194, 27, 78); /* oklch */ color: oklch(52.9% 0.198 11.3);
Tailwind
colors: {
custom: {
50: '#dc6e7f',
500: '#c21b4e',
950: '#000000',
},
}SCSS
$custom: #c21b4e; $custom-light: #dc6e7f; $custom-dark: #000000;
JSON
{
"hex": "#c21b4e",
"rgb": {
"r": 194,
"g": 27,
"b": 78
},
"hsl": {
"h": 341.677,
"s": 75.566,
"l": 43.333
},
"oklch": {
"l": 0.52946,
"c": 0.19765,
"h": 11.3
},
"luminance": 0.12803
}Semantic roles & 50–950 ramp
primary
#C21B4E
secondary
#68D1B1
accent
#F2B936
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C