#7E1718#7E1718
#7E1718 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 26.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1718 |
|---|---|
| RGB | rgb(126, 23, 24) |
| HSL | hsl(359, 69%, 29%) |
| HSV | hsv(359, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 81%, 50.6%) |
| CIE-LAB | lab(27.06, 42.93, 27.69) |
| CIE-LCH | lch(27.06, 51.08, 32.82°) |
| OKLab | oklab(38.78% 0.1236 0.0606) |
| OKLCH | oklch(38.78% 0.138 26.1) |
| XYZ | xyz(9.0765, 5.1158, 1.3735) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.47
Blood
#770001
ΔE00 4.21
Maroon
#800000
ΔE00 4.55
Reddy Brown
#6E1005
ΔE00 4.71
Dark Red
#840000
ΔE00 4.84
Indian Red
#850E04
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1718 #177E7D
analogous
#7E174C #7E1718 #7E4917
triadic
#7E1718 #187E17 #17187E
tetradic
#7E1718 #4C7E17 #177E7D #49177E
square
#7E1718 #4C7E17 #177E7D #49177E
split-complementary
#7E1718 #177E49 #174C7E
monochromatic
#1A0505 #4A0E0E #7E1718 #B22022 #DA3537
Accessibility & contrast
On white
10.38
#7E1718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1718
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1718 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1718; /* rgb */ color: rgb(126, 23, 24); /* oklch */ color: oklch(38.8% 0.138 26.1);
Tailwind
colors: {
custom: {
50: '#ac5f55',
500: '#7e1718',
950: '#000000',
},
}SCSS
$custom: #7e1718; $custom-light: #ac5f55; $custom-dark: #000000;
JSON
{
"hex": "#7e1718",
"rgb": {
"r": 126,
"g": 23,
"b": 24
},
"hsl": {
"h": 359.417,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38782,
"c": 0.1377,
"h": 26.1
},
"luminance": 0.05114
}Semantic roles & 50–950 ramp
primary
#7E1718
secondary
#3EB3B2
accent
#ECEA3C
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978