Skip to content
Vectorlight.net

#ec368c

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

HEX
#ec368c
RGB
236, 54, 140
HSL
331.65°, 82.73%, 56.86%
OKLCH
0.64 0.23 357.42
Names
—
Lists

Codes

FormatValue
HEX#ec368c
RGBrgb(236 54 140)
HSLhsl(331.65 82.73% 56.86%)
OKLCHoklch(0.64 0.23 357.42)
CMYKcmyk(0% 77.12% 40.68% 7.45%)
Android#ffec368c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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