Skip to content
Vectorlight.net

#ba2b85

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

HEX
#ba2b85
RGB
186, 43, 133
HSL
322.24°, 62.45%, 44.9%
OKLCH
0.54 0.2 347.22
Names
—
Lists

Codes

FormatValue
HEX#ba2b85
RGBrgb(186 43 133)
HSLhsl(322.24 62.45% 44.9%)
OKLCHoklch(0.54 0.2 347.22)
CMYKcmyk(0% 76.88% 28.49% 27.06%)
Android#ffba2b85

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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