#7E1516#7E1516
#7E1516 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 26.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1516 |
|---|---|
| RGB | rgb(126, 21, 22) |
| HSL | hsl(359, 71%, 29%) |
| HSV | hsv(359, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 82.5%, 50.6%) |
| CIE-LAB | lab(26.82, 43.47, 28.65) |
| CIE-LCH | lch(26.82, 52.06, 33.39°) |
| OKLab | oklab(38.6% 0.1249 0.062) |
| OKLCH | oklch(38.6% 0.139 26.4) |
| XYZ | xyz(9.0183, 5.0313, 1.2552) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.19
Blood
#770001
ΔE00 3.76
Maroon
#800000
ΔE00 4.09
Reddy Brown
#6E1005
ΔE00 4.39
Dark Red
#840000
ΔE00 4.39
Indian Red
#850E04
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1516 #157E7D
analogous
#7E154B #7E1516 #7E4915
triadic
#7E1516 #167E15 #15167E
tetradic
#7E1516 #4B7E15 #157E7D #49157E
square
#7E1516 #4B7E15 #157E7D #49157E
split-complementary
#7E1516 #157E49 #154B7E
monochromatic
#1A0405 #4A0C0D #7E1516 #B21E1F #DD3132
Accessibility & contrast
On white
10.47
#7E1516 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E1516 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1516
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1516 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1516 | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373115
Deuteranopia (green-blind)
#514711
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1516; /* rgb */ color: rgb(126, 21, 22); /* oklch */ color: oklch(38.6% 0.139 26.4);
Tailwind
colors: {
custom: {
50: '#ac5e54',
500: '#7e1516',
950: '#000000',
},
}SCSS
$custom: #7e1516; $custom-light: #ac5e54; $custom-dark: #000000;
JSON
{
"hex": "#7e1516",
"rgb": {
"r": 126,
"g": 21,
"b": 22
},
"hsl": {
"h": 359.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38598,
"c": 0.13945,
"h": 26.4
},
"luminance": 0.0503
}Semantic roles & 50–950 ramp
primary
#7E1516
secondary
#3CB3B2
accent
#EEEC3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978