Skip to content
Vectorlight.net

#ec309a

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

HEX
#ec309a
RGB
236, 48, 154
HSL
326.17°, 83.19%, 55.69%
OKLCH
0.64 0.24 352.05
Names
—
Lists

Codes

FormatValue
HEX#ec309a
RGBrgb(236 48 154)
HSLhsl(326.17 83.19% 55.69%)
OKLCHoklch(0.64 0.24 352.05)
CMYKcmyk(0% 79.66% 34.75% 7.45%)
Android#ffec309a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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