Skip to content
Vectorlight.net

#ec0048

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

HEX
#ec0048
RGB
236, 0, 72
HSL
341.69°, 100%, 46.27%
OKLCH
0.6 0.24 17.22
Names
—
Lists

Codes

FormatValue
HEX#ec0048
RGBrgb(236 0 72)
HSLhsl(341.69 100% 46.27%)
OKLCHoklch(0.6 0.24 17.22)
CMYKcmyk(0% 100% 69.49% 7.45%)
Android#ffec0048

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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