#7E1818#7E1818
#7E1818 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 26.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1818 |
|---|---|
| RGB | rgb(126, 24, 24) |
| HSL | hsl(0, 68%, 29%) |
| HSV | hsv(0, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 81%, 50.6%) |
| CIE-LAB | lab(27.18, 42.61, 27.81) |
| CIE-LCH | lch(27.18, 50.88, 33.13°) |
| OKLab | oklab(38.87% 0.1226 0.0609) |
| OKLCH | oklch(38.87% 0.137 26.4) |
| XYZ | xyz(9.0968, 5.1563, 1.3803) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.46
Blood
#770001
ΔE00 4.18
Maroon
#800000
ΔE00 4.48
Reddy Brown
#6E1005
ΔE00 4.65
Dark Red
#840000
ΔE00 4.76
Indian Red
#850E04
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1818 #187E7E
analogous
#7E184B #7E1818 #7E4B18
triadic
#7E1818 #187E18 #18187E
tetradic
#7E1818 #4B7E18 #187E7E #4B187E
square
#7E1818 #4B7E18 #187E7E #4B187E
split-complementary
#7E1818 #187E4B #184B7E
monochromatic
#1A0505 #4B0E0E #7E1818 #B12222 #D93737
Accessibility & contrast
On white
10.34
#7E1818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1818
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1818 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1818; /* rgb */ color: rgb(126, 24, 24); /* oklch */ color: oklch(38.9% 0.137 26.4);
Tailwind
colors: {
custom: {
50: '#ac5f55',
500: '#7e1818',
950: '#000000',
},
}SCSS
$custom: #7e1818; $custom-light: #ac5f55; $custom-dark: #000000;
JSON
{
"hex": "#7e1818",
"rgb": {
"r": 126,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38867,
"c": 0.13692,
"h": 26.4
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#7E1818
secondary
#3FB2B2
accent
#EBEB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978