Skip to content
Vectorlight.net

#ed51aa

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

HEX
#ed51aa
RGB
237, 81, 170
HSL
325.77°, 81.25%, 62.35%
OKLCH
0.67 0.21 349.01
Names
—
Lists

Codes

FormatValue
HEX#ed51aa
RGBrgb(237 81 170)
HSLhsl(325.77 81.25% 62.35%)
OKLCHoklch(0.67 0.21 349.01)
CMYKcmyk(0% 65.82% 28.27% 7.06%)
Android#ffed51aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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