#C04042#C04042
#C04042 is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.4% C 0.164 H 23.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C04042 |
|---|---|
| RGB | rgb(192, 64, 66) |
| HSL | hsl(359, 50%, 50%) |
| HSV | hsv(359, 67%, 75%) |
| CMYK | cmyk(0%, 66.7%, 65.6%, 24.7%) |
| CIE-LAB | lab(46.00, 51.21, 27.52) |
| CIE-LCH | lch(46.00, 58.13, 28.25°) |
| OKLab | oklab(55.42% 0.1505 0.065) |
| OKLCH | oklch(55.42% 0.164 23.4) |
| XYZ | xyz(24.5575, 15.2701, 6.8075) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.20
Reddish
#C44240
ΔE00 1.58
Dusty Red
#B9484E
ΔE00 3.29
Cardinal
#C41E3A
ΔE00 4.80
Faded Red
#D3494E
ΔE00 5.00
Cherry (survey)
#CF0234
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04042 #40C0BE
analogous
#C04082 #C04042 #C07E40
triadic
#C04042 #42C040 #4042C0
tetradic
#C04042 #82C040 #40C0BE #7E40C0
square
#C04042 #82C040 #40C0BE #7E40C0
split-complementary
#C04042 #40C07E #4082C0
monochromatic
#642122 #923032 #C04042 #CF6E70 #DE9C9D
Accessibility & contrast
On white
5.18
#C04042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#C04042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04042
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04042 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625C41
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#D32042
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c04042; /* rgb */ color: rgb(192, 64, 66); /* oklch */ color: oklch(55.4% 0.164 23.4);
Tailwind
colors: {
custom: {
50: '#da7c76',
500: '#c04042',
950: '#000000',
},
}SCSS
$custom: #c04042; $custom-light: #da7c76; $custom-dark: #000000;
JSON
{
"hex": "#c04042",
"rgb": {
"r": 192,
"g": 64,
"b": 66
},
"hsl": {
"h": 359.063,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.55424,
"c": 0.16395,
"h": 23.4
},
"luminance": 0.15267
}Semantic roles & 50–950 ramp
primary
#C04042
secondary
#91CBCA
accent
#DAD84E
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B