Skip to content
Vectorlight.net

#ba2ebf

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

HEX
#ba2ebf
RGB
186, 46, 191
HSL
297.93°, 61.18%, 46.47%
OKLCH
0.58 0.23 326.55
Names
—
Lists

Codes

FormatValue
HEX#ba2ebf
RGBrgb(186 46 191)
HSLhsl(297.93 61.18% 46.47%)
OKLCHoklch(0.58 0.23 326.55)
CMYKcmyk(2.62% 75.92% 0% 25.1%)
Android#ffba2ebf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ba2ebf"
Gradient stop
<stop stop-color="#ba2ebf"/>
CSS variable + fill
:root { --c: #ba2ebf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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