Skip to content
Vectorlight.net

#ea478c

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

HEX
#ea478c
RGB
234, 71, 140
HSL
334.6°, 79.51%, 59.8%
OKLCH
0.65 0.21 358.81
Names
—
Lists

Codes

FormatValue
HEX#ea478c
RGBrgb(234 71 140)
HSLhsl(334.6 79.51% 59.8%)
OKLCHoklch(0.65 0.21 358.81)
CMYKcmyk(0% 69.66% 40.17% 8.24%)
Android#ffea478c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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