#C0402A#C0402A
#C0402A is a mid, vivid red. Relative luminance 0.150; OKLCH L 55.1% C 0.168 H 32.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C0402A |
|---|---|
| RGB | rgb(192, 64, 42) |
| HSL | hsl(9, 64%, 46%) |
| HSV | hsv(9, 78%, 75%) |
| CMYK | cmyk(0%, 66.7%, 78.1%, 24.7%) |
| CIE-LAB | lab(45.69, 50.07, 40.84) |
| CIE-LCH | lch(45.69, 64.61, 39.20°) |
| OKLab | oklab(55.1% 0.1421 0.0894) |
| OKLCH | oklch(55.1% 0.168 32.2) |
| XYZ | xyz(23.9922, 15.0440, 3.8305) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 5.97
Rusty Red
#AF2F0D
ΔE00 6.23
Rust
#B7410E
ΔE00 6.45
Dull Red
#BB3F3F
ΔE00 6.63
Firebrick
#B22222
ΔE00 6.97
Brick
#A03623
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0402A #2AAAC0
analogous
#C02A5F #C0402A #C08B2A
triadic
#C0402A #2AC040 #402AC0
tetradic
#C0402A #5FC02A #2AAAC0 #8B2AC0
square
#C0402A #5FC02A #2AAAC0 #8B2AC0
split-complementary
#C0402A #2AC08B #2A5FC0
monochromatic
#5C1F14 #8E2F1F #C0402A #D8634F #E38F81
Accessibility & contrast
On white
5.24
#C0402A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#C0402A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C0402A
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0402A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C0402A | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A27
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#D3193C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c0402a; /* rgb */ color: rgb(192, 64, 42); /* oklch */ color: oklch(55.1% 0.168 32.2);
Tailwind
colors: {
custom: {
50: '#dc7c65',
500: '#c0402a',
950: '#000000',
},
}SCSS
$custom: #c0402a; $custom-light: #dc7c65; $custom-dark: #000000;
JSON
{
"hex": "#c0402a",
"rgb": {
"r": 192,
"g": 64,
"b": 42
},
"hsl": {
"h": 8.8,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.55095,
"c": 0.16788,
"h": 32.2
},
"luminance": 0.1504
}Semantic roles & 50–950 ramp
primary
#C0402A
secondary
#7AC0CC
accent
#CFE741
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A