#7E311F#7E311F
#7E311F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.111 H 34.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E311F |
|---|---|
| RGB | rgb(126, 49, 31) |
| HSL | hsl(11, 61%, 31%) |
| HSV | hsv(11, 75%, 49%) |
| CMYK | cmyk(0%, 61.1%, 75.4%, 50.6%) |
| CIE-LAB | lab(31.19, 32.25, 27.97) |
| CIE-LCH | lch(31.19, 42.69, 40.93°) |
| OKLab | oklab(41.9% 0.0918 0.0631) |
| OKLCH | oklch(41.9% 0.111 34.5) |
| XYZ | xyz(9.9508, 6.7325, 2.0716) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.50
Reddish Brown
#7F2B0A
ΔE00 4.55
Indian Red
#850E04
ΔE00 6.16
Chestnut
#742802
ΔE00 6.18
Brick Red
#8F1402
ΔE00 6.45
Brown Red
#922B05
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E311F #1F6C7E
analogous
#7E1F3C #7E311F #7E601F
triadic
#7E311F #1F7E31 #311F7E
tetradic
#7E311F #3C7E1F #1F6C7E #601F7E
square
#7E311F #3C7E1F #1F6C7E #601F7E
split-complementary
#7E311F #1F7E60 #1F3C7E
monochromatic
#1C0B07 #4D1E13 #7E311F #AF442B #D16046
Accessibility & contrast
On white
8.95
#7E311F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E311F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E311F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E311F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E311F | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#8B202D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e311f; /* rgb */ color: rgb(126, 49, 31); /* oklch */ color: oklch(41.9% 0.111 34.5);
Tailwind
colors: {
custom: {
50: '#aa6c5b',
500: '#7e311f',
950: '#000000',
},
}SCSS
$custom: #7e311f; $custom-light: #aa6c5b; $custom-dark: #000000;
JSON
{
"hex": "#7e311f",
"rgb": {
"r": 126,
"g": 49,
"b": 31
},
"hsl": {
"h": 11.368,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41904,
"c": 0.11138,
"h": 34.5
},
"luminance": 0.06731
}Semantic roles & 50–950 ramp
primary
#7E311F
secondary
#489DB1
accent
#C5E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79