#7E1A17#7E1A17
#7E1A17 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.135 H 27.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A17 |
|---|---|
| RGB | rgb(126, 26, 23) |
| HSL | hsl(2, 69%, 29%) |
| HSV | hsv(2, 82%, 49%) |
| CMYK | cmyk(0%, 79.4%, 81.7%, 50.6%) |
| CIE-LAB | lab(27.40, 41.91, 28.65) |
| CIE-LCH | lch(27.40, 50.76, 34.36°) |
| OKLab | oklab(39.03% 0.1202 0.0624) |
| OKLCH | oklch(39.03% 0.135 27.4) |
| XYZ | xyz(9.1293, 5.2377, 1.3407) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.37
Blood
#770001
ΔE00 3.93
Maroon
#800000
ΔE00 4.09
Indian Red
#850E04
ΔE00 4.22
Reddy Brown
#6E1005
ΔE00 4.33
Dark Red
#840000
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A17 #177B7E
analogous
#7E1748 #7E1A17 #7E4E17
triadic
#7E1A17 #177E1A #1A177E
tetradic
#7E1A17 #487E17 #177B7E #4E177E
square
#7E1A17 #487E17 #177B7E #4E177E
split-complementary
#7E1A17 #177E4E #17487E
monochromatic
#1A0505 #4A0F0E #7E1A17 #B22520 #DA3A35
Accessibility & contrast
On white
10.26
#7E1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1A17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A17
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A17 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a17; /* rgb */ color: rgb(126, 26, 23); /* oklch */ color: oklch(39.0% 0.135 27.4);
Tailwind
colors: {
custom: {
50: '#ac6054',
500: '#7e1a17',
950: '#000000',
},
}SCSS
$custom: #7e1a17; $custom-light: #ac6054; $custom-dark: #000000;
JSON
{
"hex": "#7e1a17",
"rgb": {
"r": 126,
"g": 26,
"b": 23
},
"hsl": {
"h": 1.748,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39031,
"c": 0.13542,
"h": 27.4
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#7E1A17
secondary
#3EAFB3
accent
#E7EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978