Skip to content
Vectorlight.net

#e12874

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

HEX
#e12874
RGB
225, 40, 116
HSL
335.35°, 75.51%, 51.96%
OKLCH
0.6 0.22 2.96
Names
—
Lists

Codes

FormatValue
HEX#e12874
RGBrgb(225 40 116)
HSLhsl(335.35 75.51% 51.96%)
OKLCHoklch(0.6 0.22 2.96)
CMYKcmyk(0% 82.22% 48.44% 11.76%)
Android#ffe12874

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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