Skip to content
Vectorlight.net

#e7186a

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

HEX
#e7186a
RGB
231, 24, 106
HSL
336.23°, 81.18%, 50%
OKLCH
0.6 0.23 6.51
Names
—
Lists

Codes

FormatValue
HEX#e7186a
RGBrgb(231 24 106)
HSLhsl(336.23 81.18% 50%)
OKLCHoklch(0.6 0.23 6.51)
CMYKcmyk(0% 89.61% 54.11% 9.41%)
Android#ffe7186a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

color / background
color: #e7186a;
background-color: #e7186a;
bg-[#e7186a]