#C5402F#C5402F
#C5402F is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.0% C 0.172 H 30.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C5402F |
|---|---|
| RGB | rgb(197, 64, 47) |
| HSL | hsl(7, 61%, 48%) |
| HSV | hsv(7, 76%, 77%) |
| CMYK | cmyk(0%, 67.5%, 76.1%, 22.7%) |
| CIE-LAB | lab(46.64, 51.96, 39.41) |
| CIE-LCH | lch(46.64, 65.21, 37.18°) |
| OKLab | oklab(55.99% 0.1484 0.0873) |
| OKLCH | oklch(55.99% 0.172 30.5) |
| XYZ | xyz(25.3753, 15.7461, 4.3919) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.64
Dull Red
#BB3F3F
ΔE00 5.70
Red (survey)
#E50000
ΔE00 7.14
Dark Coral
#CF524E
ΔE00 7.20
Firebrick
#B22222
ΔE00 7.24
Scarlet
#BE0119
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5402F #2FB4C5
analogous
#C52F69 #C5402F #C58B2F
triadic
#C5402F #2FC540 #402FC5
tetradic
#C5402F #69C52F #2FB4C5 #8B2FC5
square
#C5402F #69C52F #2FB4C5 #8B2FC5
split-complementary
#C5402F #2FC58B #2F69C5
monochromatic
#622017 #943023 #C5402F #D8685A #E3958B
Accessibility & contrast
On white
5.06
#C5402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#C5402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5402F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5402F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C2C
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#D9163D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c5402f; /* rgb */ color: rgb(197, 64, 47); /* oklch */ color: oklch(56.0% 0.172 30.5);
Tailwind
colors: {
custom: {
50: '#df7c69',
500: '#c5402f',
950: '#000000',
},
}SCSS
$custom: #c5402f; $custom-light: #df7c69; $custom-dark: #000000;
JSON
{
"hex": "#c5402f",
"rgb": {
"r": 197,
"g": 64,
"b": 47
},
"hsl": {
"h": 6.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55987,
"c": 0.17218,
"h": 30.5
},
"luminance": 0.15742
}Semantic roles & 50–950 ramp
primary
#C5402F
secondary
#82C5CD
accent
#D2E543
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A