#7E1118#7E1118
#7E1118 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 24.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1118 |
|---|---|
| RGB | rgb(126, 17, 24) |
| HSL | hsl(356, 76%, 28%) |
| HSV | hsv(356, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 81%, 50.6%) |
| CIE-LAB | lab(26.46, 44.63, 27.05) |
| CIE-LCH | lch(26.46, 52.19, 31.22°) |
| OKLab | oklab(38.34% 0.129 0.0592) |
| OKLCH | oklch(38.34% 0.142 24.7) |
| XYZ | xyz(8.9706, 4.9039, 1.3382) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.72
Burgundy
#800020
ΔE00 4.28
Blood
#770001
ΔE00 4.51
Maroon
#800000
ΔE00 5.05
Reddy Brown
#6E1005
ΔE00 5.19
Rosewood
#65000B
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1118 #117E77
analogous
#7E114E #7E1118 #7E4011
triadic
#7E1118 #187E11 #11187E
tetradic
#7E1118 #4E7E11 #117E77 #40117E
square
#7E1118 #4E7E11 #117E77 #40117E
split-complementary
#7E1118 #117E40 #114E7E
monochromatic
#1B0405 #480A0E #7E1118 #B41822 #E22733
Accessibility & contrast
On white
10.60
#7E1118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1118
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1118 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353017
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1118; /* rgb */ color: rgb(126, 17, 24); /* oklch */ color: oklch(38.3% 0.142 24.7);
Tailwind
colors: {
custom: {
50: '#ac5d55',
500: '#7e1118',
950: '#000000',
},
}SCSS
$custom: #7e1118; $custom-light: #ac5d55; $custom-dark: #000000;
JSON
{
"hex": "#7e1118",
"rgb": {
"r": 126,
"g": 17,
"b": 24
},
"hsl": {
"h": 356.147,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38335,
"c": 0.14198,
"h": 24.7
},
"luminance": 0.04902
}Semantic roles & 50–950 ramp
primary
#7E1118
secondary
#37B4AC
accent
#F3E735
background
#FBF5F4
surface
#F6E9E8
border
#D0C5C4
text
#120503
muted
#817978