Skip to content
Vectorlight.net

#fe4afa

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

HEX
#fe4afa
RGB
254, 74, 250
HSL
301.33°, 98.9%, 64.31%
OKLCH
0.73 0.28 328.95
Names
—
Lists

Codes

FormatValue
HEX#fe4afa
RGBrgb(254 74 250)
HSLhsl(301.33 98.9% 64.31%)
OKLCHoklch(0.73 0.28 328.95)
CMYKcmyk(0% 70.87% 1.57% 0.39%)
Android#fffe4afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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