Skip to content
Vectorlight.net

#ec40d0

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

HEX
#ec40d0
RGB
236, 64, 208
HSL
309.77°, 81.9%, 58.82%
OKLCH
0.67 0.25 335.53
Names
—
Lists

Codes

FormatValue
HEX#ec40d0
RGBrgb(236 64 208)
HSLhsl(309.77 81.9% 58.82%)
OKLCHoklch(0.67 0.25 335.53)
CMYKcmyk(0% 72.88% 11.86% 7.45%)
Android#ffec40d0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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