#C04842#C04842
#C04842 is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.4% C 0.156 H 26.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C04842 |
|---|---|
| RGB | rgb(192, 72, 66) |
| HSL | hsl(3, 50%, 51%) |
| HSV | hsv(3, 66%, 75%) |
| CMYK | cmyk(0%, 62.5%, 65.6%, 24.7%) |
| CIE-LAB | lab(47.29, 47.76, 29.11) |
| CIE-LCH | lch(47.29, 55.93, 31.37°) |
| OKLab | oklab(56.39% 0.1396 0.0686) |
| OKLCH | oklch(56.39% 0.156 26.2) |
| XYZ | xyz(25.0414, 16.2379, 6.9688) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 1.29
Dull Red
#BB3F3F
ΔE00 2.64
Dark Coral
#CF524E
ΔE00 4.49
Dusty Red
#B9484E
ΔE00 4.52
Faded Red
#D3494E
ΔE00 4.78
Dark Salmon
#C85A53
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04842 #42BAC0
analogous
#C0427B #C04842 #C08742
triadic
#C04842 #42C048 #4842C0
tetradic
#C04842 #7BC042 #42BAC0 #8742C0
square
#C04842 #7BC042 #42BAC0 #8742C0
split-complementary
#C04842 #42C087 #427BC0
monochromatic
#662522 #943631 #C04842 #CF7470 #DFA19E
Accessibility & contrast
On white
4.94
#C04842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#C04842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04842
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04842 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686041
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#D22E47
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c04842; /* rgb */ color: rgb(192, 72, 66); /* oklch */ color: oklch(56.4% 0.156 26.2);
Tailwind
colors: {
custom: {
50: '#da8076',
500: '#c04842',
950: '#000000',
},
}SCSS
$custom: #c04842; $custom-light: #da8076; $custom-dark: #000000;
JSON
{
"hex": "#c04842",
"rgb": {
"r": 192,
"g": 72,
"b": 66
},
"hsl": {
"h": 2.857,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.56387,
"c": 0.15555,
"h": 26.2
},
"luminance": 0.16235
}Semantic roles & 50–950 ramp
primary
#C04842
secondary
#93C8CB
accent
#D3DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B