Skip to content
Vectorlight.net

#fb48dc

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

HEX
#fb48dc
RGB
251, 72, 220
HSL
310.39°, 95.72%, 63.33%
OKLCH
0.71 0.26 335.93
Names
—
Lists

Codes

FormatValue
HEX#fb48dc
RGBrgb(251 72 220)
HSLhsl(310.39 95.72% 63.33%)
OKLCHoklch(0.71 0.26 335.93)
CMYKcmyk(0% 71.31% 12.35% 1.57%)
Android#fffb48dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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