Skip to content
Vectorlight.net

#ec528e

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

HEX
#ec528e
RGB
236, 82, 142
HSL
336.62°, 80.21%, 62.35%
OKLCH
0.66 0.2 359.98
Names
—
Lists

Codes

FormatValue
HEX#ec528e
RGBrgb(236 82 142)
HSLhsl(336.62 80.21% 62.35%)
OKLCHoklch(0.66 0.2 359.98)
CMYKcmyk(0% 65.25% 39.83% 7.45%)
Android#ffec528e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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