#C0342A#C0342A
#C0342A is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.8% C 0.178 H 28.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C0342A |
|---|---|
| RGB | rgb(192, 52, 42) |
| HSL | hsl(4, 64%, 46%) |
| HSV | hsv(4, 78%, 75%) |
| CMYK | cmyk(0%, 72.9%, 78.1%, 24.7%) |
| CIE-LAB | lab(43.99, 54.73, 39.07) |
| CIE-LCH | lch(43.99, 67.24, 35.53°) |
| OKLab | oklab(53.82% 0.1566 0.0856) |
| OKLCH | oklch(53.82% 0.178 28.6) |
| XYZ | xyz(23.3869, 13.8332, 3.6287) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 4.51
Scarlet
#BE0119
ΔE00 4.73
Reddish
#C44240
ΔE00 4.83
Dull Red
#BB3F3F
ΔE00 4.89
Brick
#A03623
ΔE00 6.47
Brown
#A52A2A
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0342A #2AB6C0
analogous
#C02A6B #C0342A #C07F2A
triadic
#C0342A #2AC034 #342AC0
tetradic
#C0342A #6BC02A #2AB6C0 #7F2AC0
square
#C0342A #6BC02A #2AB6C0 #7F2AC0
split-complementary
#C0342A #2AC07F #2A6BC0
monochromatic
#5C1914 #8E261F #C0342A #D8584F #E38881
Accessibility & contrast
On white
5.58
#C0342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#C0342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C0342A
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C0342A | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5427
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#D40033
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c0342a; /* rgb */ color: rgb(192, 52, 42); /* oklch */ color: oklch(53.8% 0.178 28.6);
Tailwind
colors: {
custom: {
50: '#dc7665',
500: '#c0342a',
950: '#000000',
},
}SCSS
$custom: #c0342a; $custom-light: #dc7665; $custom-dark: #000000;
JSON
{
"hex": "#c0342a",
"rgb": {
"r": 192,
"g": 52,
"b": 42
},
"hsl": {
"h": 4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.53821,
"c": 0.17848,
"h": 28.6
},
"luminance": 0.1383
}Semantic roles & 50–950 ramp
primary
#C0342A
secondary
#7AC7CC
accent
#DCE741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A