#7E301B#7E301B
#7E301B is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.114 H 35.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E301B |
|---|---|
| RGB | rgb(126, 48, 27) |
| HSL | hsl(13, 65%, 30%) |
| HSV | hsv(13, 79%, 49%) |
| CMYK | cmyk(0%, 61.9%, 78.6%, 50.6%) |
| CIE-LAB | lab(30.95, 32.57, 30.02) |
| CIE-LCH | lch(30.95, 44.30, 42.67°) |
| OKLab | oklab(41.71% 0.0919 0.0666) |
| OKLCH | oklch(41.71% 0.114 35.9) |
| XYZ | xyz(9.8600, 6.6300, 1.7972) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.96
Reddish Brown
#7F2B0A
ΔE00 3.48
Chestnut
#742802
ΔE00 5.19
Brown Red
#922B05
ΔE00 5.76
Indian Red
#850E04
ΔE00 5.84
Brick Red
#8F1402
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E301B #1B697E
analogous
#7E1B38 #7E301B #7E611B
triadic
#7E301B #1B7E30 #301B7E
tetradic
#7E301B #387E1B #1B697E #611B7E
square
#7E301B #387E1B #1B697E #611B7E
split-complementary
#7E301B #1B7E61 #1B387E
monochromatic
#190A05 #4C1D10 #7E301B #B04326 #D65E3E
Accessibility & contrast
On white
9.03
#7E301B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7E301B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E301B
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E301B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E301B | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8B1E2C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e301b; /* rgb */ color: rgb(126, 48, 27); /* oklch */ color: oklch(41.7% 0.114 35.9);
Tailwind
colors: {
custom: {
50: '#aa6b58',
500: '#7e301b',
950: '#000000',
},
}SCSS
$custom: #7e301b; $custom-light: #aa6b58; $custom-dark: #000000;
JSON
{
"hex": "#7e301b",
"rgb": {
"r": 126,
"g": 48,
"b": 27
},
"hsl": {
"h": 12.727,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.41707,
"c": 0.11351,
"h": 35.9
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#7E301B
secondary
#439AB2
accent
#C4E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78