Skip to content
Vectorlight.net

#ed178a

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

HEX
#ed178a
RGB
237, 23, 138
HSL
327.76°, 85.6%, 50.98%
OKLCH
0.62 0.25 356.52
Names
—
Lists

Codes

FormatValue
HEX#ed178a
RGBrgb(237 23 138)
HSLhsl(327.76 85.6% 50.98%)
OKLCHoklch(0.62 0.25 356.52)
CMYKcmyk(0% 90.3% 41.77% 7.06%)
Android#ffed178a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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