Skip to content
Vectorlight.net

#fb56ff

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

HEX
#fb56ff
RGB
251, 86, 255
HSL
298.58°, 100%, 66.86%
OKLCH
0.74 0.27 326.9
Names
—
Lists

Codes

FormatValue
HEX#fb56ff
RGBrgb(251 86 255)
HSLhsl(298.58 100% 66.86%)
OKLCHoklch(0.74 0.27 326.9)
CMYKcmyk(1.57% 66.27% 0% 0%)
Android#fffb56ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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