Skip to content
Vectorlight.net

#ed297a

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

HEX
#ed297a
RGB
237, 41, 122
HSL
335.2°, 84.48%, 54.51%
OKLCH
0.62 0.23 3.01
Names
—
Lists

Codes

FormatValue
HEX#ed297a
RGBrgb(237 41 122)
HSLhsl(335.2 84.48% 54.51%)
OKLCHoklch(0.62 0.23 3.01)
CMYKcmyk(0% 82.7% 48.52% 7.06%)
Android#ffed297a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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