Skip to content
Vectorlight.net

#fba2fe

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

HEX
#fba2fe
RGB
251, 162, 254
HSL
298.04°, 97.87%, 81.57%
OKLCH
0.83 0.16 325.73
Names
—
Lists

Codes

FormatValue
HEX#fba2fe
RGBrgb(251 162 254)
HSLhsl(298.04 97.87% 81.57%)
OKLCHoklch(0.83 0.16 325.73)
CMYKcmyk(1.18% 36.22% 0% 0.39%)
Android#fffba2fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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