Skip to content
Vectorlight.net

#bafbf2

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

HEX
#bafbf2
RGB
186, 251, 242
HSL
171.69°, 89.04%, 85.69%
OKLCH
0.94 0.07 185.54
Names
—
Lists

Codes

FormatValue
HEX#bafbf2
RGBrgb(186 251 242)
HSLhsl(171.69 89.04% 85.69%)
OKLCHoklch(0.94 0.07 185.54)
CMYKcmyk(25.9% 0% 3.59% 1.57%)
Android#ffbafbf2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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