Skip to content
Vectorlight.net

#ba46ae

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

HEX
#ba46ae
RGB
186, 70, 174
HSL
306.21°, 45.67%, 50.2%
OKLCH
0.59 0.19 332.01
Names
—
Lists

Codes

FormatValue
HEX#ba46ae
RGBrgb(186 70 174)
HSLhsl(306.21 45.67% 50.2%)
OKLCHoklch(0.59 0.19 332.01)
CMYKcmyk(0% 62.37% 6.45% 27.06%)
Android#ffba46ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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