#C03940#C03940
#C03940 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.6% C 0.171 H 22.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C03940 |
|---|---|
| RGB | rgb(192, 57, 64) |
| HSL | hsl(357, 54%, 49%) |
| HSV | hsv(357, 70%, 75%) |
| CMYK | cmyk(0%, 70.3%, 66.7%, 24.7%) |
| CIE-LAB | lab(44.95, 53.88, 27.41) |
| CIE-LCH | lch(44.95, 60.45, 26.96°) |
| OKLab | oklab(54.63% 0.1586 0.0645) |
| OKLCH | oklch(54.63% 0.171 22.1) |
| XYZ | xyz(24.1293, 14.5064, 6.3790) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.61
Reddish
#C44240
ΔE00 2.78
Cardinal
#C41E3A
ΔE00 3.41
Dusty Red
#B9484E
ΔE00 3.57
Cherry (survey)
#CF0234
ΔE00 4.29
Crimson
#DC143C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C03940 #39C0B9
analogous
#C03984 #C03940 #C07639
triadic
#C03940 #40C039 #3940C0
tetradic
#C03940 #84C039 #39C0B9 #7639C0
square
#C03940 #84C039 #39C0B9 #7639C0
split-complementary
#C03940 #39C076 #3984C0
monochromatic
#621D21 #912B30 #C03940 #D1656B #DF9498
Accessibility & contrast
On white
5.38
#C03940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#C03940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C03940
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C03940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C03940 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#D30E3D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c03940; /* rgb */ color: rgb(192, 57, 64); /* oklch */ color: oklch(54.6% 0.171 22.1);
Tailwind
colors: {
custom: {
50: '#db7874',
500: '#c03940',
950: '#000000',
},
}SCSS
$custom: #c03940; $custom-light: #db7874; $custom-dark: #000000;
JSON
{
"hex": "#c03940",
"rgb": {
"r": 192,
"g": 57,
"b": 64
},
"hsl": {
"h": 356.889,
"s": 54.217,
"l": 48.824
},
"oklch": {
"l": 0.54628,
"c": 0.1712,
"h": 22.1
},
"luminance": 0.14503
}Semantic roles & 50–950 ramp
primary
#C03940
secondary
#8ACBC7
accent
#DED64A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B