Skip to content
Vectorlight.net

#ec6ad2

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

HEX
#ec6ad2
RGB
236, 106, 210
HSL
312°, 77.38%, 67.06%
OKLCH
0.72 0.2 335.83
Names
—
Lists

Codes

FormatValue
HEX#ec6ad2
RGBrgb(236 106 210)
HSLhsl(312 77.38% 67.06%)
OKLCHoklch(0.72 0.2 335.83)
CMYKcmyk(0% 55.08% 11.02% 7.45%)
Android#ffec6ad2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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