Skip to content
Vectorlight.net

#fb478a

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

HEX
#fb478a
RGB
251, 71, 138
HSL
337.67°, 95.74%, 63.14%
OKLCH
0.67 0.22 2.71
Names
—
Lists

Codes

FormatValue
HEX#fb478a
RGBrgb(251 71 138)
HSLhsl(337.67 95.74% 63.14%)
OKLCHoklch(0.67 0.22 2.71)
CMYKcmyk(0% 71.71% 45.02% 1.57%)
Android#fffb478a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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