Skip to content
Vectorlight.net

#7e401b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#7e401b
RGB
126, 64, 27
HSL
22.42°, 64.71%, 30%
OKLCH
0.44 0.1 48.62
Names
—
Lists

Codes

FormatValue
HEX#7e401b
RGBrgb(126 64 27)
HSLhsl(22.42 64.71% 30%)
OKLCHoklch(0.44 0.1 48.62)
CMYKcmyk(0% 49.21% 78.57% 50.59%)
Android#ff7e401b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.63:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#7e401b"
Gradient stop
<stop stop-color="#7e401b"/>
CSS variable + fill
:root { --c: #7e401b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #7e401b;
background-color: #7e401b;
bg-[#7e401b]