Skip to content
Vectorlight.net

#fe51cc

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

HEX
#fe51cc
RGB
254, 81, 204
HSL
317.34°, 98.86%, 65.69%
OKLCH
0.71 0.24 341.54
Names
—
Lists

Codes

FormatValue
HEX#fe51cc
RGBrgb(254 81 204)
HSLhsl(317.34 98.86% 65.69%)
OKLCHoklch(0.71 0.24 341.54)
CMYKcmyk(0% 68.11% 19.69% 0.39%)
Android#fffe51cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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