#7E1117#7E1117
#7E1117 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 25.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1117 |
|---|---|
| RGB | rgb(126, 17, 23) |
| HSL | hsl(357, 76%, 28%) |
| HSV | hsv(357, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 81.7%, 50.6%) |
| CIE-LAB | lab(26.45, 44.60, 27.66) |
| CIE-LCH | lch(26.45, 52.48, 31.81°) |
| OKLab | oklab(38.32% 0.1287 0.0602) |
| OKLCH | oklch(38.32% 0.142 25.1) |
| XYZ | xyz(8.9604, 4.8999, 1.2844) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.50
Blood
#770001
ΔE00 4.21
Burgundy
#800020
ΔE00 4.61
Maroon
#800000
ΔE00 4.72
Reddy Brown
#6E1005
ΔE00 4.92
Dark Red
#840000
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1117 #117E78
analogous
#7E114D #7E1117 #7E4111
triadic
#7E1117 #177E11 #11177E
tetradic
#7E1117 #4D7E11 #117E78 #41117E
square
#7E1117 #4D7E11 #117E78 #41117E
split-complementary
#7E1117 #117E41 #114D7E
monochromatic
#1B0405 #480A0D #7E1117 #B41821 #E22732
Accessibility & contrast
On white
10.61
#7E1117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1117
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1117 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1117; /* rgb */ color: rgb(126, 17, 23); /* oklch */ color: oklch(38.3% 0.142 25.1);
Tailwind
colors: {
custom: {
50: '#ac5d54',
500: '#7e1117',
950: '#000000',
},
}SCSS
$custom: #7e1117; $custom-light: #ac5d54; $custom-dark: #000000;
JSON
{
"hex": "#7e1117",
"rgb": {
"r": 126,
"g": 17,
"b": 23
},
"hsl": {
"h": 356.697,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38323,
"c": 0.14209,
"h": 25.1
},
"luminance": 0.04898
}Semantic roles & 50–950 ramp
primary
#7E1117
secondary
#37B4AD
accent
#F3E835
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978