#C42727#C42727
#C42727 is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.4% C 0.193 H 26.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C42727 |
|---|---|
| RGB | rgb(196, 39, 39) |
| HSL | hsl(0, 67%, 46%) |
| HSV | hsv(0, 80%, 77%) |
| CMYK | cmyk(0%, 80.1%, 80.1%, 23.1%) |
| CIE-LAB | lab(43.27, 59.95, 40.23) |
| CIE-LCH | lch(43.27, 72.20, 33.86°) |
| OKLab | oklab(53.41% 0.172 0.0868) |
| OKLCH | oklch(53.41% 0.193 26.8) |
| XYZ | xyz(23.8596, 13.3372, 3.2371) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.51
Firebrick
#B22222
ΔE00 3.89
Dull Red
#BB3F3F
ΔE00 5.14
Reddish
#C44240
ΔE00 5.27
Cherry (survey)
#CF0234
ΔE00 5.51
Lipstick Red
#C0022F
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42727 #27C4C4
analogous
#C42775 #C42727 #C47527
triadic
#C42727 #27C427 #2727C4
tetradic
#C42727 #75C427 #27C4C4 #7527C4
square
#C42727 #75C427 #27C4C4 #7527C4
split-complementary
#C42727 #27C475 #2775C4
monochromatic
#5E1313 #911D1D #C42727 #DC4D4D #E68080
Accessibility & contrast
On white
5.73
#C42727 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#C42727 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42727
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42727 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5025
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D8002A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c42727; /* rgb */ color: rgb(196, 39, 39); /* oklch */ color: oklch(53.4% 0.193 26.8);
Tailwind
colors: {
custom: {
50: '#e07162',
500: '#c42727',
950: '#000000',
},
}SCSS
$custom: #c42727; $custom-light: #e07162; $custom-dark: #000000;
JSON
{
"hex": "#c42727",
"rgb": {
"r": 196,
"g": 39,
"b": 39
},
"hsl": {
"h": 0,
"s": 66.809,
"l": 46.078
},
"oklch": {
"l": 0.5341,
"c": 0.19265,
"h": 26.8
},
"luminance": 0.13333
}Semantic roles & 50–950 ramp
primary
#C42727
secondary
#79CECE
accent
#EAEA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79