Skip to content
Vectorlight.net

#ec348c

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

HEX
#ec348c
RGB
236, 52, 140
HSL
331.3°, 82.88%, 56.47%
OKLCH
0.64 0.23 357.25
Names
—
Lists

Codes

FormatValue
HEX#ec348c
RGBrgb(236 52 140)
HSLhsl(331.3 82.88% 56.47%)
OKLCHoklch(0.64 0.23 357.25)
CMYKcmyk(0% 77.97% 40.68% 7.45%)
Android#ffec348c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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