#7E1112#7E1112
#7E1112 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 27.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1112 |
|---|---|
| RGB | rgb(126, 17, 18) |
| HSL | hsl(359, 76%, 28%) |
| HSV | hsv(359, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 85.7%, 50.6%) |
| CIE-LAB | lab(26.39, 44.44, 30.59) |
| CIE-LCH | lch(26.39, 53.95, 34.54°) |
| OKLab | oklab(38.27% 0.1271 0.0647) |
| OKLCH | oklch(38.27% 0.143 27) |
| XYZ | xyz(8.9149, 4.8817, 1.0450) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.79
Blood
#770001
ΔE00 2.93
Maroon
#800000
ΔE00 3.18
Dark Red
#840000
ΔE00 3.52
Indian Red
#850E04
ΔE00 3.71
Reddy Brown
#6E1005
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1112 #117E7D
analogous
#7E1148 #7E1112 #7E4711
triadic
#7E1112 #127E11 #11127E
tetradic
#7E1112 #487E11 #117E7D #47117E
square
#7E1112 #487E11 #117E7D #47117E
split-complementary
#7E1112 #117E47 #11487E
monochromatic
#1B0404 #480A0A #7E1112 #B4181A #E22729
Accessibility & contrast
On white
10.63
#7E1112 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1112 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1112
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1112 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#362F10
Deuteranopia (green-blind)
#50470C
Tritanopia (blue-blind)
#8C0013
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7e1112; /* rgb */ color: rgb(126, 17, 18); /* oklch */ color: oklch(38.3% 0.143 27.0);
Tailwind
colors: {
custom: {
50: '#ac5d51',
500: '#7e1112',
950: '#000000',
},
}SCSS
$custom: #7e1112; $custom-light: #ac5d51; $custom-dark: #000000;
JSON
{
"hex": "#7e1112",
"rgb": {
"r": 126,
"g": 17,
"b": 18
},
"hsl": {
"h": 359.45,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38267,
"c": 0.14262,
"h": 27
},
"luminance": 0.0488
}Semantic roles & 50–950 ramp
primary
#7E1112
secondary
#37B4B3
accent
#F3F135
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978