Skip to content
Vectorlight.net

#fb81dc

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

HEX
#fb81dc
RGB
251, 129, 220
HSL
315.25°, 93.85%, 74.51%
OKLCH
0.77 0.18 337.75
Names
—
Lists

Codes

FormatValue
HEX#fb81dc
RGBrgb(251 129 220)
HSLhsl(315.25 93.85% 74.51%)
OKLCHoklch(0.77 0.18 337.75)
CMYKcmyk(0% 48.61% 12.35% 1.57%)
Android#fffb81dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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