#C04540#C04540
#C04540 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.0% C 0.159 H 25.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C04540 |
|---|---|
| RGB | rgb(192, 69, 64) |
| HSL | hsl(2, 50%, 50%) |
| HSV | hsv(2, 67%, 75%) |
| CMYK | cmyk(0%, 64.1%, 66.7%, 24.7%) |
| CIE-LAB | lab(46.76, 48.97, 29.64) |
| CIE-LCH | lch(46.76, 57.24, 31.19°) |
| OKLab | oklab(55.98% 0.143 0.0695) |
| OKLCH | oklch(55.98% 0.159 25.9) |
| XYZ | xyz(24.7943, 15.8363, 6.6006) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 0.92
Dull Red
#BB3F3F
ΔE00 2.14
Dusty Red
#B9484E
ΔE00 4.52
Dark Coral
#CF524E
ΔE00 4.98
Faded Red
#D3494E
ΔE00 5.04
Dark Salmon
#C85A53
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04540 #40BBC0
analogous
#C0407B #C04540 #C08540
triadic
#C04540 #40C045 #4540C0
tetradic
#C04540 #7BC040 #40BBC0 #8540C0
square
#C04540 #7BC040 #40BBC0 #8540C0
split-complementary
#C04540 #40C085 #407BC0
monochromatic
#642421 #923430 #C04540 #CF726E #DE9F9C
Accessibility & contrast
On white
5.04
#C04540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#C04540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04540
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04540 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E3F
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#D32845
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c04540; /* rgb */ color: rgb(192, 69, 64); /* oklch */ color: oklch(56.0% 0.159 25.9);
Tailwind
colors: {
custom: {
50: '#da7f75',
500: '#c04540',
950: '#000000',
},
}SCSS
$custom: #c04540; $custom-light: #da7f75; $custom-dark: #000000;
JSON
{
"hex": "#c04540",
"rgb": {
"r": 192,
"g": 69,
"b": 64
},
"hsl": {
"h": 2.344,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.55982,
"c": 0.15902,
"h": 25.9
},
"luminance": 0.15833
}Semantic roles & 50–950 ramp
primary
#C04540
secondary
#91C8CB
accent
#D4DA4E
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#160A08
muted
#847C7B