Skip to content
Vectorlight.net

#e306ab

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

HEX
#e306ab
RGB
227, 6, 171
HSL
315.2°, 94.85%, 45.69%
OKLCH
0.61 0.26 343.46
Names
—
Lists

Codes

FormatValue
HEX#e306ab
RGBrgb(227 6 171)
HSLhsl(315.2 94.85% 45.69%)
OKLCHoklch(0.61 0.26 343.46)
CMYKcmyk(0% 97.36% 24.67% 10.98%)
Android#ffe306ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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