Skip to content
Vectorlight.net

#ba477a

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

HEX
#ba477a
RGB
186, 71, 122
HSL
333.39°, 45.45%, 50.39%
OKLCH
0.57 0.16 355.72
Names
—
Lists

Codes

FormatValue
HEX#ba477a
RGBrgb(186 71 122)
HSLhsl(333.39 45.45% 50.39%)
OKLCHoklch(0.57 0.16 355.72)
CMYKcmyk(0% 61.83% 34.41% 27.06%)
Android#ffba477a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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