#7E1517#7E1517
#7E1517 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 26.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1517 |
|---|---|
| RGB | rgb(126, 21, 23) |
| HSL | hsl(359, 71%, 29%) |
| HSV | hsv(359, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 81.7%, 50.6%) |
| CIE-LAB | lab(26.84, 43.50, 28.06) |
| CIE-LCH | lch(26.84, 51.76, 32.82°) |
| OKLab | oklab(38.61% 0.1252 0.0611) |
| OKLCH | oklch(38.61% 0.139 26) |
| XYZ | xyz(9.0281, 5.0353, 1.3070) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.34
Blood
#770001
ΔE00 4.02
Maroon
#800000
ΔE00 4.40
Reddy Brown
#6E1005
ΔE00 4.62
Dark Red
#840000
ΔE00 4.70
Indian Red
#850E04
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1517 #157E7C
analogous
#7E154C #7E1517 #7E4815
triadic
#7E1517 #177E15 #15177E
tetradic
#7E1517 #4C7E15 #157E7C #48157E
square
#7E1517 #4C7E15 #157E7C #48157E
split-complementary
#7E1517 #157E48 #154C7E
monochromatic
#1A0405 #4A0C0D #7E1517 #B21E21 #DD3134
Accessibility & contrast
On white
10.46
#7E1517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E1517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1517
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1517 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1517; /* rgb */ color: rgb(126, 21, 23); /* oklch */ color: oklch(38.6% 0.139 26.0);
Tailwind
colors: {
custom: {
50: '#ac5e54',
500: '#7e1517',
950: '#000000',
},
}SCSS
$custom: #7e1517; $custom-light: #ac5e54; $custom-dark: #000000;
JSON
{
"hex": "#7e1517",
"rgb": {
"r": 126,
"g": 21,
"b": 23
},
"hsl": {
"h": 358.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.3861,
"c": 0.13933,
"h": 26
},
"luminance": 0.05034
}Semantic roles & 50–950 ramp
primary
#7E1517
secondary
#3CB3B1
accent
#EEEB3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978