Skip to content
Vectorlight.net

#ed228e

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

HEX
#ed228e
RGB
237, 34, 142
HSL
328.08°, 84.94%, 53.14%
OKLCH
0.63 0.24 355.61
Names
—
Lists

Codes

FormatValue
HEX#ed228e
RGBrgb(237 34 142)
HSLhsl(328.08 84.94% 53.14%)
OKLCHoklch(0.63 0.24 355.61)
CMYKcmyk(0% 85.65% 40.08% 7.06%)
Android#ffed228e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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