Skip to content
Vectorlight.net

#ba305a

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

HEX
#ba305a
RGB
186, 48, 90
HSL
341.74°, 58.97%, 45.88%
OKLCH
0.53 0.18 7.51
Names
—
Lists

Codes

FormatValue
HEX#ba305a
RGBrgb(186 48 90)
HSLhsl(341.74 58.97% 45.88%)
OKLCHoklch(0.53 0.18 7.51)
CMYKcmyk(0% 74.19% 51.61% 27.06%)
Android#ffba305a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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