#7E291B#7E291B
#7E291B is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.121 H 31.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7E291B |
|---|---|
| RGB | rgb(126, 41, 27) |
| HSL | hsl(8, 65%, 30%) |
| HSV | hsv(8, 79%, 49%) |
| CMYK | cmyk(0%, 67.5%, 78.6%, 50.6%) |
| CIE-LAB | lab(29.67, 35.97, 28.66) |
| CIE-LCH | lch(29.67, 46.00, 38.55°) |
| OKLab | oklab(40.74% 0.1025 0.0636) |
| OKLCH | oklch(40.74% 0.121 31.8) |
| XYZ | xyz(9.5960, 6.1020, 1.7092) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.01
Indian Red
#850E04
ΔE00 4.67
Reddish Brown
#7F2B0A
ΔE00 5.20
Reddy Brown
#6E1005
ΔE00 5.40
Crimson (survey)
#8C000F
ΔE00 5.45
Maroon
#800000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E291B #1B707E
analogous
#7E1B3E #7E291B #7E5B1B
triadic
#7E291B #1B7E29 #291B7E
tetradic
#7E291B #3E7E1B #1B707E #5B1B7E
square
#7E291B #3E7E1B #1B707E #5B1B7E
split-complementary
#7E291B #1B7E5B #1B3E7E
monochromatic
#190805 #4C1910 #7E291B #B03926 #D6533E
Accessibility & contrast
On white
9.46
#7E291B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E291B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E291B
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E291B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E291B | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#8B1226
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e291b; /* rgb */ color: rgb(126, 41, 27); /* oklch */ color: oklch(40.7% 0.121 31.8);
Tailwind
colors: {
custom: {
50: '#aa6758',
500: '#7e291b',
950: '#000000',
},
}SCSS
$custom: #7e291b; $custom-light: #aa6758; $custom-dark: #000000;
JSON
{
"hex": "#7e291b",
"rgb": {
"r": 126,
"g": 41,
"b": 27
},
"hsl": {
"h": 8.485,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40741,
"c": 0.12064,
"h": 31.8
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#7E291B
secondary
#43A2B2
accent
#D0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78