#7E2917#7E2917
#7E2917 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.122 H 33.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2917 |
|---|---|
| RGB | rgb(126, 41, 23) |
| HSL | hsl(10, 69%, 29%) |
| HSV | hsv(10, 82%, 49%) |
| CMYK | cmyk(0%, 67.5%, 81.7%, 50.6%) |
| CIE-LAB | lab(29.63, 35.81, 30.91) |
| CIE-LCH | lch(29.63, 47.31, 40.80°) |
| OKLab | oklab(40.7% 0.1012 0.0673) |
| OKLCH | oklch(40.7% 0.122 33.6) |
| XYZ | xyz(9.5528, 6.0848, 1.4819) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.21
Reddish Brown
#7F2B0A
ΔE00 3.91
Indian Red
#850E04
ΔE00 4.30
Brick Red
#8F1402
ΔE00 4.94
Dark Red
#840000
ΔE00 5.24
Maroon
#800000
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2917 #176C7E
analogous
#7E1739 #7E2917 #7E5D17
triadic
#7E2917 #177E29 #29177E
tetradic
#7E2917 #397E17 #176C7E #5D177E
square
#7E2917 #397E17 #176C7E #5D177E
split-complementary
#7E2917 #177E5D #17397E
monochromatic
#1A0805 #4A180E #7E2917 #B23A20 #DA5235
Accessibility & contrast
On white
9.47
#7E2917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E2917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2917
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2917 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#8B1125
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2917; /* rgb */ color: rgb(126, 41, 23); /* oklch */ color: oklch(40.7% 0.122 33.6);
Tailwind
colors: {
custom: {
50: '#ab6755',
500: '#7e2917',
950: '#000000',
},
}SCSS
$custom: #7e2917; $custom-light: #ab6755; $custom-dark: #000000;
JSON
{
"hex": "#7e2917",
"rgb": {
"r": 126,
"g": 41,
"b": 23
},
"hsl": {
"h": 10.485,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40695,
"c": 0.12151,
"h": 33.6
},
"luminance": 0.06083
}Semantic roles & 50–950 ramp
primary
#7E2917
secondary
#3E9EB3
accent
#CDEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78