#7E1917#7E1917
#7E1917 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 27.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1917 |
|---|---|
| RGB | rgb(126, 25, 23) |
| HSL | hsl(1, 69%, 29%) |
| HSV | hsv(1, 82%, 49%) |
| CMYK | cmyk(0%, 80.2%, 81.7%, 50.6%) |
| CIE-LAB | lab(27.28, 42.25, 28.52) |
| CIE-LCH | lch(27.28, 50.97, 34.03°) |
| OKLab | oklab(38.94% 0.1213 0.0621) |
| OKLCH | oklch(38.94% 0.136 27.1) |
| XYZ | xyz(9.1076, 5.1942, 1.3335) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.34
Blood
#770001
ΔE00 3.93
Maroon
#800000
ΔE00 4.13
Indian Red
#850E04
ΔE00 4.33
Reddy Brown
#6E1005
ΔE00 4.37
Dark Red
#840000
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1917 #177C7E
analogous
#7E1749 #7E1917 #7E4D17
triadic
#7E1917 #177E19 #19177E
tetradic
#7E1917 #497E17 #177C7E #4D177E
square
#7E1917 #497E17 #177C7E #4D177E
split-complementary
#7E1917 #177E4D #17497E
monochromatic
#1A0505 #4A0F0E #7E1917 #B22320 #DA3835
Accessibility & contrast
On white
10.30
#7E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1917
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1917 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1917; /* rgb */ color: rgb(126, 25, 23); /* oklch */ color: oklch(38.9% 0.136 27.1);
Tailwind
colors: {
custom: {
50: '#ac6054',
500: '#7e1917',
950: '#000000',
},
}SCSS
$custom: #7e1917; $custom-light: #ac6054; $custom-dark: #000000;
JSON
{
"hex": "#7e1917",
"rgb": {
"r": 126,
"g": 25,
"b": 23
},
"hsl": {
"h": 1.165,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38941,
"c": 0.13624,
"h": 27.1
},
"luminance": 0.05193
}Semantic roles & 50–950 ramp
primary
#7E1917
secondary
#3EB0B3
accent
#E9EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978