Skip to content
Vectorlight.net

#ffbafa

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

HEX
#ffbafa
RGB
255, 186, 250
HSL
304.35°, 100%, 86.47%
OKLCH
0.87 0.11 328.96
Names
—
Lists

Codes

FormatValue
HEX#ffbafa
RGBrgb(255 186 250)
HSLhsl(304.35 100% 86.47%)
OKLCHoklch(0.87 0.11 328.96)
CMYKcmyk(0% 27.06% 1.96% 0%)
Android#ffffbafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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