#C04742#C04742
#C04742 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.3% C 0.157 H 25.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C04742 |
|---|---|
| RGB | rgb(192, 71, 66) |
| HSL | hsl(2, 50%, 51%) |
| HSV | hsv(2, 66%, 75%) |
| CMYK | cmyk(0%, 63%, 65.6%, 24.7%) |
| CIE-LAB | lab(47.12, 48.20, 28.91) |
| CIE-LCH | lch(47.12, 56.20, 30.95°) |
| OKLab | oklab(56.26% 0.141 0.0681) |
| OKLCH | oklch(56.26% 0.157 25.8) |
| XYZ | xyz(24.9773, 16.1097, 6.9474) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 1.07
Dull Red
#BB3F3F
ΔE00 2.38
Dusty Red
#B9484E
ΔE00 4.31
Dark Coral
#CF524E
ΔE00 4.61
Faded Red
#D3494E
ΔE00 4.74
Dark Salmon
#C85A53
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04742 #42BBC0
analogous
#C0427C #C04742 #C08642
triadic
#C04742 #42C047 #4742C0
tetradic
#C04742 #7CC042 #42BBC0 #8642C0
square
#C04742 #7CC042 #42BBC0 #8642C0
split-complementary
#C04742 #42C086 #427CC0
monochromatic
#662522 #943531 #C04742 #CF7470 #DFA09E
Accessibility & contrast
On white
4.97
#C04742 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#C04742 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04742
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04742 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#D22C47
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c04742; /* rgb */ color: rgb(192, 71, 66); /* oklch */ color: oklch(56.3% 0.157 25.8);
Tailwind
colors: {
custom: {
50: '#da8076',
500: '#c04742',
950: '#000000',
},
}SCSS
$custom: #c04742; $custom-light: #da8076; $custom-dark: #000000;
JSON
{
"hex": "#c04742",
"rgb": {
"r": 192,
"g": 71,
"b": 66
},
"hsl": {
"h": 2.381,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.56262,
"c": 0.15661,
"h": 25.8
},
"luminance": 0.16106
}Semantic roles & 50–950 ramp
primary
#C04742
secondary
#93C9CB
accent
#D4DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B