#7E291F#7E291F
#7E291F is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.120 H 29.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7E291F |
|---|---|
| RGB | rgb(126, 41, 31) |
| HSL | hsl(6, 61%, 31%) |
| HSV | hsv(6, 75%, 49%) |
| CMYK | cmyk(0%, 67.5%, 75.4%, 50.6%) |
| CIE-LAB | lab(29.72, 36.16, 26.32) |
| CIE-LCH | lch(29.72, 44.73, 36.05°) |
| OKLab | oklab(40.79% 0.1039 0.0596) |
| OKLCH | oklch(40.79% 0.12 29.8) |
| XYZ | xyz(9.6455, 6.1218, 1.9698) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 5.09
Crimson (survey)
#8C000F
ΔE00 5.37
Indian Red
#850E04
ΔE00 5.42
Reddy Brown
#6E1005
ΔE00 5.77
Maroon
#800000
ΔE00 5.97
Dark Red
#840000
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E291F #1F747E
analogous
#7E1F44 #7E291F #7E581F
triadic
#7E291F #1F7E29 #291F7E
tetradic
#7E291F #447E1F #1F747E #581F7E
square
#7E291F #447E1F #1F747E #581F7E
split-complementary
#7E291F #1F7E58 #1F447E
monochromatic
#1C0907 #4D1913 #7E291F #AF392B #D15546
Accessibility & contrast
On white
9.44
#7E291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E291F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E291F | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8B1327
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e291f; /* rgb */ color: rgb(126, 41, 31); /* oklch */ color: oklch(40.8% 0.120 29.8);
Tailwind
colors: {
custom: {
50: '#aa675b',
500: '#7e291f',
950: '#000000',
},
}SCSS
$custom: #7e291f; $custom-light: #aa675b; $custom-dark: #000000;
JSON
{
"hex": "#7e291f",
"rgb": {
"r": 126,
"g": 41,
"b": 31
},
"hsl": {
"h": 6.316,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40794,
"c": 0.11978,
"h": 29.8
},
"luminance": 0.0612
}Semantic roles & 50–950 ramp
primary
#7E291F
secondary
#48A6B1
accent
#D3E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79