#C42F4E#C42F4E
#C42F4E is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.7% C 0.184 H 14.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F4E |
|---|---|
| RGB | rgb(196, 47, 78) |
| HSL | hsl(348, 61%, 48%) |
| HSV | hsv(348, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 60.2%, 23.1%) |
| CIE-LAB | lab(44.69, 59.43, 18.68) |
| CIE-LCH | lch(44.69, 62.30, 17.45°) |
| OKLab | oklab(54.65% 0.1786 0.0458) |
| OKLCH | oklch(54.65% 0.184 14.4) |
| XYZ | xyz(25.1592, 14.3225, 8.6460) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.91
Ruby
#CA0147
ΔE00 3.01
Rose Red
#BE013C
ΔE00 4.81
Cardinal
#C41E3A
ΔE00 4.81
Dark Rose
#B5485D
ΔE00 5.01
Dusty Red
#B9484E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F4E #2FC4A5
analogous
#C42F98 #C42F4E #C45B2F
triadic
#C42F4E #4EC42F #2F4EC4
tetradic
#C42F4E #98C42F #2FC4A5 #5B2FC4
square
#C42F4E #98C42F #2FC4A5 #5B2FC4
split-complementary
#C42F4E #2FC45B #2F98C4
monochromatic
#611727 #93233A #C42F4E #D75973 #E38A9D
Accessibility & contrast
On white
5.44
#C42F4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#C42F4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F4E
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F4E | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58564E
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#D7003C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42f4e; /* rgb */ color: rgb(196, 47, 78); /* oklch */ color: oklch(54.7% 0.184 14.4);
Tailwind
colors: {
custom: {
50: '#dd757f',
500: '#c42f4e',
950: '#000000',
},
}SCSS
$custom: #c42f4e; $custom-light: #dd757f; $custom-dark: #000000;
JSON
{
"hex": "#c42f4e",
"rgb": {
"r": 196,
"g": 47,
"b": 78
},
"hsl": {
"h": 347.517,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54653,
"c": 0.18434,
"h": 14.4
},
"luminance": 0.14319
}Semantic roles & 50–950 ramp
primary
#C42F4E
secondary
#82CDBD
accent
#E4C343
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C