Skip to content
Vectorlight.net

#fe0271

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

HEX
#fe0271
RGB
254, 2, 113
HSL
333.57°, 99.21%, 50.2%
OKLCH
0.64 0.26 7.04
Names
—
Lists

Codes

FormatValue
HEX#fe0271
RGBrgb(254 2 113)
HSLhsl(333.57 99.21% 50.2%)
OKLCHoklch(0.64 0.26 7.04)
CMYKcmyk(0% 99.21% 55.51% 0.39%)
Android#fffe0271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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