Skip to content
Vectorlight.net

#e042ba

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

HEX
#e042ba
RGB
224, 66, 186
HSL
314.43°, 71.82%, 56.86%
OKLCH
0.65 0.23 339.22
Names
—
Lists

Codes

FormatValue
HEX#e042ba
RGBrgb(224 66 186)
HSLhsl(314.43 71.82% 56.86%)
OKLCHoklch(0.65 0.23 339.22)
CMYKcmyk(0% 70.54% 16.96% 12.16%)
Android#ffe042ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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