Skip to content
Vectorlight.net

#fb52b4

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

HEX
#fb52b4
RGB
251, 82, 180
HSL
325.21°, 95.48%, 65.29%
OKLCH
0.7 0.22 348.75
Names
—
Lists

Codes

FormatValue
HEX#fb52b4
RGBrgb(251 82 180)
HSLhsl(325.21 95.48% 65.29%)
OKLCHoklch(0.7 0.22 348.75)
CMYKcmyk(0% 67.33% 28.29% 1.57%)
Android#fffb52b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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