Skip to content
Vectorlight.net

#7e116a

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

HEX
#7e116a
RGB
126, 17, 106
HSL
311.01°, 76.22%, 28.04%
OKLCH
0.41 0.17 337.43
Names
—
Lists

Codes

FormatValue
HEX#7e116a
RGBrgb(126 17 106)
HSLhsl(311.01 76.22% 28.04%)
OKLCHoklch(0.41 0.17 337.43)
CMYKcmyk(0% 86.51% 15.87% 50.59%)
Android#ff7e116a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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