Skip to content
Vectorlight.net

#fb48fd

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

HEX
#fb48fd
RGB
251, 72, 253
HSL
299.34°, 97.84%, 63.73%
OKLCH
0.72 0.28 327.54
Names
—
Lists

Codes

FormatValue
HEX#fb48fd
RGBrgb(251 72 253)
HSLhsl(299.34 97.84% 63.73%)
OKLCHoklch(0.72 0.28 327.54)
CMYKcmyk(0.79% 71.54% 0% 0.78%)
Android#fffb48fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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