#C42831#C42831
#C42831 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.6% C 0.191 H 24.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C42831 |
|---|---|
| RGB | rgb(196, 40, 49) |
| HSL | hsl(357, 66%, 46%) |
| HSV | hsv(357, 80%, 77%) |
| CMYK | cmyk(0%, 79.6%, 75%, 23.1%) |
| CIE-LAB | lab(43.48, 60.02, 34.76) |
| CIE-LCH | lch(43.48, 69.36, 30.08°) |
| OKLab | oklab(53.6% 0.1744 0.0778) |
| OKLCH | oklch(53.6% 0.191 24) |
| XYZ | xyz(24.0810, 13.4789, 4.2389) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cherry (survey)
#CF0234
ΔE00 3.27
Dull Red
#BB3F3F
ΔE00 3.53
Cardinal
#C41E3A
ΔE00 3.74
Lipstick Red
#C0022F
ΔE00 3.90
Reddish
#C44240
ΔE00 4.15
Firebrick
#B22222
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42831 #28C4BB
analogous
#C4287F #C42831 #C46D28
triadic
#C42831 #31C428 #2831C4
tetradic
#C42831 #7FC428 #28C4BB #6D28C4
square
#C42831 #7FC428 #28C4BB #6D28C4
split-complementary
#C42831 #28C46D #287FC4
monochromatic
#5E1318 #911E24 #C42831 #DB4E56 #E58187
Accessibility & contrast
On white
5.68
#C42831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#C42831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42831
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42831 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595130
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#D8002D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c42831; /* rgb */ color: rgb(196, 40, 49); /* oklch */ color: oklch(53.6% 0.191 24.0);
Tailwind
colors: {
custom: {
50: '#df7169',
500: '#c42831',
950: '#000000',
},
}SCSS
$custom: #c42831; $custom-light: #df7169; $custom-dark: #000000;
JSON
{
"hex": "#c42831",
"rgb": {
"r": 196,
"g": 40,
"b": 49
},
"hsl": {
"h": 356.538,
"s": 66.102,
"l": 46.275
},
"oklch": {
"l": 0.536,
"c": 0.19091,
"h": 24
},
"luminance": 0.13475
}Semantic roles & 50–950 ramp
primary
#C42831
secondary
#7ACEC9
accent
#E9DF3F
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A