Skip to content
Vectorlight.net

#ed306c

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

HEX
#ed306c
RGB
237, 48, 108
HSL
340.95°, 84%, 55.88%
OKLCH
0.63 0.22 8.66
Names
—
Lists

Codes

FormatValue
HEX#ed306c
RGBrgb(237 48 108)
HSLhsl(340.95 84% 55.88%)
OKLCHoklch(0.63 0.22 8.66)
CMYKcmyk(0% 79.75% 54.43% 7.06%)
Android#ffed306c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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