Skip to content
Vectorlight.net

#ec388d

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

HEX
#ec388d
RGB
236, 56, 141
HSL
331.67°, 82.57%, 57.25%
OKLCH
0.64 0.22 357.23
Names
—
Lists

Codes

FormatValue
HEX#ec388d
RGBrgb(236 56 141)
HSLhsl(331.67 82.57% 57.25%)
OKLCHoklch(0.64 0.22 357.23)
CMYKcmyk(0% 76.27% 40.25% 7.45%)
Android#ffec388d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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