#7E1716#7E1716
#7E1716 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 26.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1716 |
|---|---|
| RGB | rgb(126, 23, 22) |
| HSL | hsl(1, 70%, 29%) |
| HSV | hsv(1, 83%, 49%) |
| CMYK | cmyk(0%, 81.7%, 82.5%, 50.6%) |
| CIE-LAB | lab(27.04, 42.86, 28.87) |
| CIE-LCH | lch(27.04, 51.68, 33.97°) |
| OKLab | oklab(38.76% 0.123 0.0625) |
| OKLCH | oklch(38.76% 0.138 26.9) |
| XYZ | xyz(9.0565, 5.1078, 1.2679) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.19
Blood
#770001
ΔE00 3.72
Maroon
#800000
ΔE00 3.96
Dark Red
#840000
ΔE00 4.24
Indian Red
#850E04
ΔE00 4.25
Reddy Brown
#6E1005
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1716 #167D7E
analogous
#7E1649 #7E1716 #7E4B16
triadic
#7E1716 #167E17 #17167E
tetradic
#7E1716 #497E16 #167D7E #4B167E
square
#7E1716 #497E16 #167D7E #4B167E
split-complementary
#7E1716 #167E4B #16497E
monochromatic
#1A0505 #4A0D0D #7E1716 #B2211F #DB3533
Accessibility & contrast
On white
10.39
#7E1716 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1716 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1716
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1716 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1716 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383214
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1716; /* rgb */ color: rgb(126, 23, 22); /* oklch */ color: oklch(38.8% 0.138 26.9);
Tailwind
colors: {
custom: {
50: '#ac5f54',
500: '#7e1716',
950: '#000000',
},
}SCSS
$custom: #7e1716; $custom-light: #ac5f54; $custom-dark: #000000;
JSON
{
"hex": "#7e1716",
"rgb": {
"r": 126,
"g": 23,
"b": 22
},
"hsl": {
"h": 0.577,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38759,
"c": 0.13795,
"h": 26.9
},
"luminance": 0.05106
}Semantic roles & 50–950 ramp
primary
#7E1716
secondary
#3DB2B3
accent
#EBED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978