Skip to content
Vectorlight.net

#ec174b

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

HEX
#ec174b
RGB
236, 23, 75
HSL
345.35°, 84.86%, 50.78%
OKLCH
0.6 0.23 17.3
Names
—
Lists

Codes

FormatValue
HEX#ec174b
RGBrgb(236 23 75)
HSLhsl(345.35 84.86% 50.78%)
OKLCHoklch(0.6 0.23 17.3)
CMYKcmyk(0% 90.25% 68.22% 7.45%)
Android#ffec174b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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