Skip to content
Vectorlight.net

#ba0aaa

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

HEX
#ba0aaa
RGB
186, 10, 170
HSL
305.45°, 89.8%, 38.43%
OKLCH
0.55 0.24 333.16
Names
—
Lists

Codes

FormatValue
HEX#ba0aaa
RGBrgb(186 10 170)
HSLhsl(305.45 89.8% 38.43%)
OKLCHoklch(0.55 0.24 333.16)
CMYKcmyk(0% 94.62% 8.6% 27.06%)
Android#ffba0aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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