#C52827#C52827
#C52827 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.7% C 0.193 H 27.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C52827 |
|---|---|
| RGB | rgb(197, 40, 39) |
| HSL | hsl(0, 67%, 46%) |
| HSV | hsv(0, 80%, 77%) |
| CMYK | cmyk(0%, 79.7%, 80.2%, 22.7%) |
| CIE-LAB | lab(43.56, 59.96, 40.59) |
| CIE-LCH | lch(43.56, 72.41, 34.09°) |
| OKLab | oklab(53.67% 0.1719 0.0875) |
| OKLCH | oklch(53.67% 0.193 27) |
| XYZ | xyz(24.1539, 13.5383, 3.2604) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.74
Firebrick
#B22222
ΔE00 4.17
Dull Red
#BB3F3F
ΔE00 5.19
Reddish
#C44240
ΔE00 5.20
Cherry (survey)
#CF0234
ΔE00 5.66
Lipstick Red
#C0022F
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52827 #27C4C5
analogous
#C52775 #C52827 #C57727
triadic
#C52827 #27C528 #2827C5
tetradic
#C52827 #75C527 #27C4C5 #7727C5
square
#C52827 #75C527 #27C4C5 #7727C5
split-complementary
#C52827 #27C577 #2775C5
monochromatic
#5F1313 #921E1D #C52827 #DC4E4D #E68180
Accessibility & contrast
On white
5.67
#C52827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#C52827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52827
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52827 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5125
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#D9002A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c52827; /* rgb */ color: rgb(197, 40, 39); /* oklch */ color: oklch(53.7% 0.193 27.0);
Tailwind
colors: {
custom: {
50: '#e17162',
500: '#c52827',
950: '#000000',
},
}SCSS
$custom: #c52827; $custom-light: #e17162; $custom-dark: #000000;
JSON
{
"hex": "#c52827",
"rgb": {
"r": 197,
"g": 40,
"b": 39
},
"hsl": {
"h": 0.38,
"s": 66.949,
"l": 46.275
},
"oklch": {
"l": 0.53665,
"c": 0.19291,
"h": 27
},
"luminance": 0.13534
}Semantic roles & 50–950 ramp
primary
#C52827
secondary
#79CECF
accent
#E9EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79