Skip to content
Vectorlight.net

#fe2a8e

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

HEX
#fe2a8e
RGB
254, 42, 142
HSL
331.7°, 99.07%, 58.04%
OKLCH
0.66 0.25 359.27
Names
—
Lists

Codes

FormatValue
HEX#fe2a8e
RGBrgb(254 42 142)
HSLhsl(331.7 99.07% 58.04%)
OKLCHoklch(0.66 0.25 359.27)
CMYKcmyk(0% 83.46% 44.09% 0.39%)
Android#fffe2a8e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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