#C5252A#C5252A
#C5252A is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.195 H 25.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C5252A |
|---|---|
| RGB | rgb(197, 37, 42) |
| HSL | hsl(358, 68%, 46%) |
| HSV | hsv(358, 81%, 77%) |
| CMYK | cmyk(0%, 81.2%, 78.7%, 22.7%) |
| CIE-LAB | lab(43.31, 60.87, 38.66) |
| CIE-LCH | lch(43.31, 72.11, 32.42°) |
| OKLab | oklab(53.49% 0.1754 0.0842) |
| OKLCH | oklch(53.49% 0.195 25.7) |
| XYZ | xyz(24.1084, 13.3645, 3.5003) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.77
Firebrick
#B22222
ΔE00 4.05
Cherry (survey)
#CF0234
ΔE00 4.54
Dull Red
#BB3F3F
ΔE00 4.64
Reddish
#C44240
ΔE00 4.89
Lipstick Red
#C0022F
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5252A #25C5C0
analogous
#C5257A #C5252A #C57025
triadic
#C5252A #2AC525 #252AC5
tetradic
#C5252A #7AC525 #25C5C0 #7025C5
square
#C5252A #7AC525 #25C5C0 #7025C5
split-complementary
#C5252A #25C570 #257AC5
monochromatic
#5E1214 #911B1F #C5252A #DD4A4F #E77E81
Accessibility & contrast
On white
5.72
#C5252A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#C5252A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5252A
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5252A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5252A | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#D90029
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c5252a; /* rgb */ color: rgb(197, 37, 42); /* oklch */ color: oklch(53.5% 0.195 25.7);
Tailwind
colors: {
custom: {
50: '#e07064',
500: '#c5252a',
950: '#000000',
},
}SCSS
$custom: #c5252a; $custom-light: #e07064; $custom-dark: #000000;
JSON
{
"hex": "#c5252a",
"rgb": {
"r": 197,
"g": 37,
"b": 42
},
"hsl": {
"h": 358.125,
"s": 68.376,
"l": 45.882
},
"oklch": {
"l": 0.53485,
"c": 0.19458,
"h": 25.7
},
"luminance": 0.13361
}Semantic roles & 50–950 ramp
primary
#C5252A
secondary
#77CFCC
accent
#EBE63D
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170905
muted
#857B7A