#7E1017#7E1017
#7E1017 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 24.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1017 |
|---|---|
| RGB | rgb(126, 16, 23) |
| HSL | hsl(356, 77%, 28%) |
| HSV | hsv(356, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 81.7%, 50.6%) |
| CIE-LAB | lab(26.36, 44.85, 27.57) |
| CIE-LCH | lch(26.36, 52.64, 31.58°) |
| OKLab | oklab(38.26% 0.1295 0.06) |
| OKLCH | oklch(38.26% 0.143 24.9) |
| XYZ | xyz(8.9452, 4.8695, 1.2794) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.55
Blood
#770001
ΔE00 4.27
Burgundy
#800020
ΔE00 4.48
Maroon
#800000
ΔE00 4.81
Reddy Brown
#6E1005
ΔE00 5.00
Dark Red
#840000
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1017 #107E77
analogous
#7E104E #7E1017 #7E4010
triadic
#7E1017 #177E10 #10177E
tetradic
#7E1017 #4E7E10 #107E77 #40107E
square
#7E1017 #4E7E10 #107E77 #40107E
split-complementary
#7E1017 #107E40 #104E7E
monochromatic
#1B0305 #48090D #7E1017 #B41721 #E32531
Accessibility & contrast
On white
10.64
#7E1017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#7E1017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1017
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1017 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#352F16
Deuteranopia (green-blind)
#4F4712
Tritanopia (blue-blind)
#8B0014
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7e1017; /* rgb */ color: rgb(126, 16, 23); /* oklch */ color: oklch(38.3% 0.143 24.9);
Tailwind
colors: {
custom: {
50: '#ac5d54',
500: '#7e1017',
950: '#000000',
},
}SCSS
$custom: #7e1017; $custom-light: #ac5d54; $custom-dark: #000000;
JSON
{
"hex": "#7e1017",
"rgb": {
"r": 126,
"g": 16,
"b": 23
},
"hsl": {
"h": 356.182,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.38258,
"c": 0.14272,
"h": 24.9
},
"luminance": 0.04868
}Semantic roles & 50–950 ramp
primary
#7E1017
secondary
#36B4AC
accent
#F4E834
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978