Skip to content
Vectorlight.net

#ec154b

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

HEX
#ec154b
RGB
236, 21, 75
HSL
344.93°, 84.98%, 50.39%
OKLCH
0.6 0.23 17.18
Names
—
Lists

Codes

FormatValue
HEX#ec154b
RGBrgb(236 21 75)
HSLhsl(344.93 84.98% 50.39%)
OKLCHoklch(0.6 0.23 17.18)
CMYKcmyk(0% 91.1% 68.22% 7.45%)
Android#ffec154b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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