Skip to content
Vectorlight.net

#bab2cf

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

HEX
#bab2cf
RGB
186, 178, 207
HSL
256.55°, 23.2%, 75.49%
OKLCH
0.78 0.04 298.04
Names
—
Lists

Codes

FormatValue
HEX#bab2cf
RGBrgb(186 178 207)
HSLhsl(256.55 23.2% 75.49%)
OKLCHoklch(0.78 0.04 298.04)
CMYKcmyk(10.14% 14.01% 0% 18.82%)
Android#ffbab2cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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