Skip to content
Vectorlight.net

#7e155d

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

HEX
#7e155d
RGB
126, 21, 93
HSL
318.86°, 71.43%, 28.82%
OKLCH
0.41 0.16 344.47
Names
—
Lists

Codes

FormatValue
HEX#7e155d
RGBrgb(126 21 93)
HSLhsl(318.86 71.43% 28.82%)
OKLCHoklch(0.41 0.16 344.47)
CMYKcmyk(0% 83.33% 26.19% 50.59%)
Android#ff7e155d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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