#7E1918#7E1918
#7E1918 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 26.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1918 |
|---|---|
| RGB | rgb(126, 25, 24) |
| HSL | hsl(1, 68%, 29%) |
| HSV | hsv(1, 81%, 49%) |
| CMYK | cmyk(0%, 80.2%, 81%, 50.6%) |
| CIE-LAB | lab(27.29, 42.28, 27.93) |
| CIE-LCH | lch(27.29, 50.67, 33.45°) |
| OKLab | oklab(38.95% 0.1216 0.0611) |
| OKLCH | oklch(38.95% 0.136 26.7) |
| XYZ | xyz(9.1178, 5.1983, 1.3873) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.46
Blood
#770001
ΔE00 4.15
Maroon
#800000
ΔE00 4.42
Reddy Brown
#6E1005
ΔE00 4.58
Indian Red
#850E04
ΔE00 4.65
Dark Red
#840000
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1918 #187D7E
analogous
#7E184A #7E1918 #7E4C18
triadic
#7E1918 #187E19 #19187E
tetradic
#7E1918 #4A7E18 #187D7E #4C187E
square
#7E1918 #4A7E18 #187D7E #4C187E
split-complementary
#7E1918 #187E4C #184A7E
monochromatic
#1A0505 #4B0F0E #7E1918 #B12322 #D93937
Accessibility & contrast
On white
10.30
#7E1918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1918
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1918 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 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: #7e1918; /* rgb */ color: rgb(126, 25, 24); /* oklch */ color: oklch(39.0% 0.136 26.7);
Tailwind
colors: {
custom: {
50: '#ab6055',
500: '#7e1918',
950: '#000000',
},
}SCSS
$custom: #7e1918; $custom-light: #ab6055; $custom-dark: #000000;
JSON
{
"hex": "#7e1918",
"rgb": {
"r": 126,
"g": 25,
"b": 24
},
"hsl": {
"h": 0.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38953,
"c": 0.13611,
"h": 26.7
},
"luminance": 0.05197
}Semantic roles & 50–950 ramp
primary
#7E1918
secondary
#3FB1B2
accent
#E9EB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978