Skip to content
Vectorlight.net

#ba28be

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

HEX
#ba28be
RGB
186, 40, 190
HSL
298.4°, 65.22%, 45.1%
OKLCH
0.57 0.24 326.93
Names
—
Lists

Codes

FormatValue
HEX#ba28be
RGBrgb(186 40 190)
HSLhsl(298.4 65.22% 45.1%)
OKLCHoklch(0.57 0.24 326.93)
CMYKcmyk(2.11% 78.95% 0% 25.49%)
Android#ffba28be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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