#7E331F#7E331F
#7E331F is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.2% C 0.109 H 35.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E331F |
|---|---|
| RGB | rgb(126, 51, 31) |
| HSL | hsl(13, 61%, 31%) |
| HSV | hsv(13, 75%, 49%) |
| CMYK | cmyk(0%, 59.5%, 75.4%, 50.6%) |
| CIE-LAB | lab(31.59, 31.21, 28.41) |
| CIE-LCH | lch(31.59, 42.21, 42.31°) |
| OKLab | oklab(42.2% 0.0886 0.0641) |
| OKLCH | oklch(42.2% 0.109 35.9) |
| XYZ | xyz(10.0363, 6.9035, 2.1001) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.40
Reddish Brown
#7F2B0A
ΔE00 4.19
Chestnut
#742802
ΔE00 5.82
Brown Red
#922B05
ΔE00 6.28
Rust Brown
#8B3103
ΔE00 6.60
Indian Red
#850E04
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E331F #1F6A7E
analogous
#7E1F3A #7E331F #7E621F
triadic
#7E331F #1F7E33 #331F7E
tetradic
#7E331F #3A7E1F #1F6A7E #621F7E
square
#7E331F #3A7E1F #1F6A7E #621F7E
split-complementary
#7E331F #1F7E62 #1F3A7E
monochromatic
#1C0B07 #4D1F13 #7E331F #AF472B #D16346
Accessibility & contrast
On white
8.82
#7E331F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7E331F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E331F
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E331F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E331F | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8B232F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e331f; /* rgb */ color: rgb(126, 51, 31); /* oklch */ color: oklch(42.2% 0.109 35.9);
Tailwind
colors: {
custom: {
50: '#a96d5b',
500: '#7e331f',
950: '#000000',
},
}SCSS
$custom: #7e331f; $custom-light: #a96d5b; $custom-dark: #000000;
JSON
{
"hex": "#7e331f",
"rgb": {
"r": 126,
"g": 51,
"b": 31
},
"hsl": {
"h": 12.632,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.42204,
"c": 0.10931,
"h": 35.9
},
"luminance": 0.06902
}Semantic roles & 50–950 ramp
primary
#7E331F
secondary
#489BB1
accent
#C2E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79