#7E301F#7E301F
#7E301F is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.112 H 33.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7E301F |
|---|---|
| RGB | rgb(126, 48, 31) |
| HSL | hsl(11, 61%, 31%) |
| HSV | hsv(11, 75%, 49%) |
| CMYK | cmyk(0%, 61.9%, 75.4%, 50.6%) |
| CIE-LAB | lab(31.00, 32.76, 27.75) |
| CIE-LCH | lch(31.00, 42.94, 40.27°) |
| OKLab | oklab(41.76% 0.0933 0.0627) |
| OKLCH | oklch(41.76% 0.112 33.9) |
| XYZ | xyz(9.9095, 6.6498, 2.0578) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.61
Reddish Brown
#7F2B0A
ΔE00 4.76
Indian Red
#850E04
ΔE00 5.98
Brick Red
#8F1402
ΔE00 6.37
Chestnut
#742802
ΔE00 6.38
Brownish Red
#9E3623
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E301F #1F6D7E
analogous
#7E1F3D #7E301F #7E5F1F
triadic
#7E301F #1F7E30 #301F7E
tetradic
#7E301F #3D7E1F #1F6D7E #5F1F7E
square
#7E301F #3D7E1F #1F6D7E #5F1F7E
split-complementary
#7E301F #1F7E5F #1F3D7E
monochromatic
#1C0B07 #4D1D13 #7E301F #AF432B #D15F46
Accessibility & contrast
On white
9.01
#7E301F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7E301F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E301F
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E301F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E301F | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#8B1E2C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e301f; /* rgb */ color: rgb(126, 48, 31); /* oklch */ color: oklch(41.8% 0.112 33.9);
Tailwind
colors: {
custom: {
50: '#aa6b5b',
500: '#7e301f',
950: '#000000',
},
}SCSS
$custom: #7e301f; $custom-light: #aa6b5b; $custom-dark: #000000;
JSON
{
"hex": "#7e301f",
"rgb": {
"r": 126,
"g": 48,
"b": 31
},
"hsl": {
"h": 10.737,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41757,
"c": 0.11242,
"h": 33.9
},
"luminance": 0.06648
}Semantic roles & 50–950 ramp
primary
#7E301F
secondary
#489EB1
accent
#C7E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79