#7E1B17#7E1B17
#7E1B17 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 27.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B17 |
|---|---|
| RGB | rgb(126, 27, 23) |
| HSL | hsl(2, 69%, 29%) |
| HSV | hsv(2, 82%, 49%) |
| CMYK | cmyk(0%, 78.6%, 81.7%, 50.6%) |
| CIE-LAB | lab(27.53, 41.56, 28.77) |
| CIE-LCH | lch(27.53, 50.55, 34.70°) |
| OKLab | oklab(39.12% 0.1191 0.0627) |
| OKLCH | oklch(39.12% 0.135 27.7) |
| XYZ | xyz(9.1519, 5.2828, 1.3482) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.42
Blood
#770001
ΔE00 3.95
Maroon
#800000
ΔE00 4.05
Indian Red
#850E04
ΔE00 4.12
Dark Red
#840000
ΔE00 4.28
Reddy Brown
#6E1005
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B17 #177A7E
analogous
#7E1747 #7E1B17 #7E4F17
triadic
#7E1B17 #177E1B #1B177E
tetradic
#7E1B17 #477E17 #177A7E #4F177E
square
#7E1B17 #477E17 #177A7E #4F177E
split-complementary
#7E1B17 #177E4F #17477E
monochromatic
#1A0605 #4A100E #7E1B17 #B22620 #DA3C35
Accessibility & contrast
On white
10.21
#7E1B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B17
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B17 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 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: #7e1b17; /* rgb */ color: rgb(126, 27, 23); /* oklch */ color: oklch(39.1% 0.135 27.7);
Tailwind
colors: {
custom: {
50: '#ab6055',
500: '#7e1b17',
950: '#000000',
},
}SCSS
$custom: #7e1b17; $custom-light: #ab6055; $custom-dark: #000000;
JSON
{
"hex": "#7e1b17",
"rgb": {
"r": 126,
"g": 27,
"b": 23
},
"hsl": {
"h": 2.33,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39124,
"c": 0.13458,
"h": 27.7
},
"luminance": 0.05281
}Semantic roles & 50–950 ramp
primary
#7E1B17
secondary
#3EAEB3
accent
#E5EC3C
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120503
muted
#817A78