Skip to content
Vectorlight.net

#ec368b

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

HEX
#ec368b
RGB
236, 54, 139
HSL
331.98°, 82.73%, 56.86%
OKLCH
0.64 0.22 357.78
Names
—
Lists

Codes

FormatValue
HEX#ec368b
RGBrgb(236 54 139)
HSLhsl(331.98 82.73% 56.86%)
OKLCHoklch(0.64 0.22 357.78)
CMYKcmyk(0% 77.12% 41.1% 7.45%)
Android#ffec368b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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