Skip to content
Vectorlight.net

#e02a7f

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

HEX
#e02a7f
RGB
224, 42, 127
HSL
331.98°, 74.59%, 52.16%
OKLCH
0.6 0.22 358.8
Names
—
Lists

Codes

FormatValue
HEX#e02a7f
RGBrgb(224 42 127)
HSLhsl(331.98 74.59% 52.16%)
OKLCHoklch(0.6 0.22 358.8)
CMYKcmyk(0% 81.25% 43.3% 12.16%)
Android#ffe02a7f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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