Skip to content
Vectorlight.net

#7e2e2b

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

HEX
#7e2e2b
RGB
126, 46, 43
HSL
2.17°, 49.11%, 33.14%
OKLCH
0.42 0.11 25.31
Names
—
Lists

Codes

FormatValue
HEX#7e2e2b
RGBrgb(126 46 43)
HSLhsl(2.17 49.11% 33.14%)
OKLCHoklch(0.42 0.11 25.31)
CMYKcmyk(0% 63.49% 65.87% 50.59%)
Android#ff7e2e2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.31: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="#7e2e2b"
Gradient stop
<stop stop-color="#7e2e2b"/>
CSS variable + fill
:root { --c: #7e2e2b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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