Skip to content
Vectorlight.net

#ed227e

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

HEX
#ed227e
RGB
237, 34, 126
HSL
332.81°, 84.94%, 53.14%
OKLCH
0.62 0.24 1.13
Names
—
Lists

Codes

FormatValue
HEX#ed227e
RGBrgb(237 34 126)
HSLhsl(332.81 84.94% 53.14%)
OKLCHoklch(0.62 0.24 1.13)
CMYKcmyk(0% 85.65% 46.84% 7.06%)
Android#ffed227e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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