#7E402F#7E402F
#7E402F is a dark, moderate red. Relative luminance 0.083; OKLCH L 44.6% C 0.090 H 36.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E402F |
|---|---|
| RGB | rgb(126, 64, 47) |
| HSL | hsl(13, 46%, 34%) |
| HSV | hsv(13, 63%, 49%) |
| CMYK | cmyk(0%, 49.2%, 62.7%, 50.6%) |
| CIE-LAB | lab(34.62, 25.12, 22.40) |
| CIE-LCH | lch(34.62, 33.66, 41.72°) |
| OKLab | oklab(44.58% 0.0729 0.0535) |
| OKLCH | oklch(44.58% 0.09 36.3) |
| XYZ | xyz(10.9515, 8.3089, 3.7158) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 6.51
Reddish Brown
#7F2B0A
ΔE00 7.61
Brownish Red
#9E3623
ΔE00 7.62
Brick
#A03623
ΔE00 7.97
Chestnut
#742802
ΔE00 8.94
Rust Brown
#8B3103
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E402F #2F6D7E
analogous
#7E2F46 #7E402F #7E682F
triadic
#7E402F #2F7E40 #402F7E
tetradic
#7E402F #467E2F #2F6D7E #682F7E
square
#7E402F #467E2F #2F6D7E #682F7E
split-complementary
#7E402F #2F7E68 #2F467E
monochromatic
#25130E #51291E #7E402F #AB5740 #C57863
Accessibility & contrast
On white
7.89
#7E402F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#7E402F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E402F
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E402F | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#8A353C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7e402f; /* rgb */ color: rgb(126, 64, 47); /* oklch */ color: oklch(44.6% 0.090 36.3);
Tailwind
colors: {
custom: {
50: '#a87668',
500: '#7e402f',
950: '#000000',
},
}SCSS
$custom: #7e402f; $custom-light: #a87668; $custom-dark: #000000;
JSON
{
"hex": "#7e402f",
"rgb": {
"r": 126,
"g": 64,
"b": 47
},
"hsl": {
"h": 12.911,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.44584,
"c": 0.09035,
"h": 36.3
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#7E402F
secondary
#5D9BAC
accent
#B9D552
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A