#7E171D#7E171D
#7E171D is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.137 H 23.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E171D |
|---|---|
| RGB | rgb(126, 23, 29) |
| HSL | hsl(357, 69%, 29%) |
| HSV | hsv(357, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 77%, 50.6%) |
| CIE-LAB | lab(27.13, 43.13, 24.63) |
| CIE-LCH | lch(27.13, 49.67, 29.73°) |
| OKLab | oklab(38.85% 0.1255 0.0554) |
| OKLCH | oklch(38.85% 0.137 23.8) |
| XYZ | xyz(9.1334, 5.1386, 1.6731) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.66
Crimson (survey)
#8C000F
ΔE00 4.63
Wine Red
#7B0323
ΔE00 4.98
Blood
#770001
ΔE00 5.66
Rosewood
#65000B
ΔE00 5.78
Claret
#680018
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E171D #177E78
analogous
#7E1751 #7E171D #7E4517
triadic
#7E171D #1D7E17 #171D7E
tetradic
#7E171D #517E17 #177E78 #45177E
square
#7E171D #517E17 #177E78 #45177E
split-complementary
#7E171D #177E45 #17517E
monochromatic
#1A0506 #4A0E11 #7E171D #B22029 #DA353F
Accessibility & contrast
On white
10.36
#7E171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E171D
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E171D | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e171d; /* rgb */ color: rgb(126, 23, 29); /* oklch */ color: oklch(38.9% 0.137 23.8);
Tailwind
colors: {
custom: {
50: '#ab5f59',
500: '#7e171d',
950: '#000000',
},
}SCSS
$custom: #7e171d; $custom-light: #ab5f59; $custom-dark: #000000;
JSON
{
"hex": "#7e171d",
"rgb": {
"r": 126,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.505,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3885,
"c": 0.13714,
"h": 23.8
},
"luminance": 0.05137
}Semantic roles & 50–950 ramp
primary
#7E171D
secondary
#3EB3AC
accent
#ECE23C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978