#7E331B#7E331B
#7E331B is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.2% C 0.111 H 37.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E331B |
|---|---|
| RGB | rgb(126, 51, 27) |
| HSL | hsl(15, 65%, 30%) |
| HSV | hsv(15, 79%, 49%) |
| CMYK | cmyk(0%, 59.5%, 78.6%, 50.6%) |
| CIE-LAB | lab(31.54, 31.02, 30.65) |
| CIE-LCH | lch(31.54, 43.61, 44.65°) |
| OKLab | oklab(42.16% 0.0872 0.0679) |
| OKLCH | oklch(42.16% 0.111 37.9) |
| XYZ | xyz(9.9869, 6.8837, 1.8395) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 3.09
Red Brown
#8B2E16
ΔE00 3.13
Chestnut
#742802
ΔE00 4.76
Rust Brown
#8B3103
ΔE00 5.43
Brown Red
#922B05
ΔE00 5.47
Brick Red
#8F1402
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E331B #1B667E
analogous
#7E1B35 #7E331B #7E641B
triadic
#7E331B #1B7E33 #331B7E
tetradic
#7E331B #357E1B #1B667E #641B7E
square
#7E331B #357E1B #1B667E #641B7E
split-complementary
#7E331B #1B7E64 #1B357E
monochromatic
#190A05 #4C1F10 #7E331B #B04726 #D6633E
Accessibility & contrast
On white
8.84
#7E331B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7E331B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E331B
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E331B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E331B | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e331b; /* rgb */ color: rgb(126, 51, 27); /* oklch */ color: oklch(42.2% 0.111 37.9);
Tailwind
colors: {
custom: {
50: '#aa6d59',
500: '#7e331b',
950: '#000000',
},
}SCSS
$custom: #7e331b; $custom-light: #aa6d59; $custom-dark: #000000;
JSON
{
"hex": "#7e331b",
"rgb": {
"r": 126,
"g": 51,
"b": 27
},
"hsl": {
"h": 14.545,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.42155,
"c": 0.11051,
"h": 37.9
},
"luminance": 0.06882
}Semantic roles & 50–950 ramp
primary
#7E331B
secondary
#4397B2
accent
#BFE840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78