Skip to content
Vectorlight.net

#e42dba

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

HEX
#e42dba
RGB
228, 45, 186
HSL
313.77°, 77.22%, 53.53%
OKLCH
0.64 0.25 339.71
Names
—
Lists

Codes

FormatValue
HEX#e42dba
RGBrgb(228 45 186)
HSLhsl(313.77 77.22% 53.53%)
OKLCHoklch(0.64 0.25 339.71)
CMYKcmyk(0% 80.26% 18.42% 10.59%)
Android#ffe42dba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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