Skip to content
Vectorlight.net

#fab2fb

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

HEX
#fab2fb
RGB
250, 178, 251
HSL
299.18°, 90.12%, 84.12%
OKLCH
0.85 0.13 326.15
Names
—
Lists

Codes

FormatValue
HEX#fab2fb
RGBrgb(250 178 251)
HSLhsl(299.18 90.12% 84.12%)
OKLCHoklch(0.85 0.13 326.15)
CMYKcmyk(0.4% 29.08% 0% 1.57%)
Android#fffab2fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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