#C42540#C42540
#C42540 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.6% C 0.192 H 18.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C42540 |
|---|---|
| RGB | rgb(196, 37, 64) |
| HSL | hsl(350, 68%, 46%) |
| HSV | hsv(350, 81%, 77%) |
| CMYK | cmyk(0%, 81.1%, 67.3%, 23.1%) |
| CIE-LAB | lab(43.41, 61.51, 25.65) |
| CIE-LCH | lch(43.41, 66.64, 22.64°) |
| OKLab | oklab(53.62% 0.1824 0.0604) |
| OKLCH | oklch(53.62% 0.192 18.3) |
| XYZ | xyz(24.3547, 13.4329, 6.1599) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 1.38
Cherry (survey)
#CF0234
ΔE00 3.25
Rose Red
#BE013C
ΔE00 3.53
Ruby
#CA0147
ΔE00 3.82
Lipstick Red
#C0022F
ΔE00 3.88
Lipstick
#D5174E
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42540 #25C4A9
analogous
#C4258F #C42540 #C45925
triadic
#C42540 #40C425 #2540C4
tetradic
#C42540 #8FC425 #25C4A9 #5925C4
square
#C42540 #8FC425 #25C4A9 #5925C4
split-complementary
#C42540 #25C459 #258FC4
monochromatic
#5D121E #911B2F #C42540 #DD4962 #E67D8F
Accessibility & contrast
On white
5.70
#C42540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#C42540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42540
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42540 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#7E723B
Tritanopia (blue-blind)
#D70031
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c42540; /* rgb */ color: rgb(196, 37, 64); /* oklch */ color: oklch(53.6% 0.192 18.3);
Tailwind
colors: {
custom: {
50: '#de7174',
500: '#c42540',
950: '#000000',
},
}SCSS
$custom: #c42540; $custom-light: #de7174; $custom-dark: #000000;
JSON
{
"hex": "#c42540",
"rgb": {
"r": 196,
"g": 37,
"b": 64
},
"hsl": {
"h": 349.811,
"s": 68.24,
"l": 45.686
},
"oklch": {
"l": 0.5362,
"c": 0.19217,
"h": 18.3
},
"luminance": 0.13429
}Semantic roles & 50–950 ramp
primary
#C42540
secondary
#76CFC0
accent
#EBCD3D
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#170908
muted
#857B7B