Skip to content
Vectorlight.net

#ea317a

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

HEX
#ea317a
RGB
234, 49, 122
HSL
336.32°, 81.5%, 55.49%
OKLCH
0.62 0.22 3.18
Names
—
Lists

Codes

FormatValue
HEX#ea317a
RGBrgb(234 49 122)
HSLhsl(336.32 81.5% 55.49%)
OKLCHoklch(0.62 0.22 3.18)
CMYKcmyk(0% 79.06% 47.86% 8.24%)
Android#ffea317a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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