#C04838#C04838
#C04838 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.2% C 0.157 H 30.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C04838 |
|---|---|
| RGB | rgb(192, 72, 56) |
| HSL | hsl(7, 55%, 49%) |
| HSV | hsv(7, 71%, 75%) |
| CMYK | cmyk(0%, 62.5%, 70.8%, 24.7%) |
| CIE-LAB | lab(47.14, 47.21, 34.72) |
| CIE-LCH | lch(47.14, 58.60, 36.33°) |
| OKLab | oklab(56.24% 0.1359 0.0794) |
| OKLCH | oklch(56.24% 0.157 30.3) |
| XYZ | xyz(24.7720, 16.1302, 5.5496) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.75
Dull Red
#BB3F3F
ΔE00 4.85
Dark Coral
#CF524E
ΔE00 6.04
Dark Salmon
#C85A53
ΔE00 6.46
Faded Red
#D3494E
ΔE00 7.05
Pale Red
#D9544D
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04838 #38B0C0
analogous
#C0386C #C04838 #C08C38
triadic
#C04838 #38C048 #4838C0
tetradic
#C04838 #6CC038 #38B0C0 #8C38C0
square
#C04838 #6CC038 #38B0C0 #8C38C0
split-complementary
#C04838 #38C08C #386CC0
monochromatic
#61241C #91362A #C04838 #D27064 #DF9C93
Accessibility & contrast
On white
4.97
#C04838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#C04838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04838
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04838 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F36
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#D32C45
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c04838; /* rgb */ color: rgb(192, 72, 56); /* oklch */ color: oklch(56.2% 0.157 30.3);
Tailwind
colors: {
custom: {
50: '#da806f',
500: '#c04838',
950: '#000000',
},
}SCSS
$custom: #c04838; $custom-light: #da806f; $custom-dark: #000000;
JSON
{
"hex": "#c04838",
"rgb": {
"r": 192,
"g": 72,
"b": 56
},
"hsl": {
"h": 7.059,
"s": 54.839,
"l": 48.627
},
"oklch": {
"l": 0.56236,
"c": 0.15741,
"h": 30.3
},
"luminance": 0.16127
}Semantic roles & 50–950 ramp
primary
#C04838
secondary
#89C3CB
accent
#CDDE4A
background
#FEF8F6
surface
#FDEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A