Skip to content
Vectorlight.net

#fb56cf

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

HEX
#fb56cf
RGB
251, 86, 207
HSL
316°, 95.38%, 66.08%
OKLCH
0.71 0.23 340.09
Names
—
Lists

Codes

FormatValue
HEX#fb56cf
RGBrgb(251 86 207)
HSLhsl(316 95.38% 66.08%)
OKLCHoklch(0.71 0.23 340.09)
CMYKcmyk(0% 65.74% 17.53% 1.57%)
Android#fffb56cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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