Skip to content
Vectorlight.net

#fb40aa

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

HEX
#fb40aa
RGB
251, 64, 170
HSL
325.99°, 95.9%, 61.76%
OKLCH
0.68 0.24 350.84
Names
—
Lists

Codes

FormatValue
HEX#fb40aa
RGBrgb(251 64 170)
HSLhsl(325.99 95.9% 61.76%)
OKLCHoklch(0.68 0.24 350.84)
CMYKcmyk(0% 74.5% 32.27% 1.57%)
Android#fffb40aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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