#7E1817#7E1817
#7E1817 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 26.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1817 |
|---|---|
| RGB | rgb(126, 24, 23) |
| HSL | hsl(1, 69%, 29%) |
| HSV | hsv(1, 82%, 49%) |
| CMYK | cmyk(0%, 81%, 81.7%, 50.6%) |
| CIE-LAB | lab(27.16, 42.57, 28.40) |
| CIE-LCH | lch(27.16, 51.18, 33.71°) |
| OKLab | oklab(38.85% 0.1223 0.0618) |
| OKLCH | oklch(38.85% 0.137 26.8) |
| XYZ | xyz(9.0866, 5.1522, 1.3265) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.32
Blood
#770001
ΔE00 3.94
Maroon
#800000
ΔE00 4.19
Reddy Brown
#6E1005
ΔE00 4.42
Indian Red
#850E04
ΔE00 4.45
Dark Red
#840000
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1817 #177D7E
analogous
#7E1749 #7E1817 #7E4C17
triadic
#7E1817 #177E18 #18177E
tetradic
#7E1817 #497E17 #177D7E #4C177E
square
#7E1817 #497E17 #177D7E #4C177E
split-complementary
#7E1817 #177E4C #17497E
monochromatic
#1A0505 #4A0E0E #7E1817 #B22220 #DA3735
Accessibility & contrast
On white
10.34
#7E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1817
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1817 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383216
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1817; /* rgb */ color: rgb(126, 24, 23); /* oklch */ color: oklch(38.9% 0.137 26.8);
Tailwind
colors: {
custom: {
50: '#ac5f54',
500: '#7e1817',
950: '#000000',
},
}SCSS
$custom: #7e1817; $custom-light: #ac5f54; $custom-dark: #000000;
JSON
{
"hex": "#7e1817",
"rgb": {
"r": 126,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.583,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38854,
"c": 0.13705,
"h": 26.8
},
"luminance": 0.05151
}Semantic roles & 50–950 ramp
primary
#7E1817
secondary
#3EB2B3
accent
#EAEC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978