Skip to content
Vectorlight.net

#ba098a

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

HEX
#ba098a
RGB
186, 9, 138
HSL
316.27°, 90.77%, 38.24%
OKLCH
0.53 0.22 344.09
Names
—
Lists

Codes

FormatValue
HEX#ba098a
RGBrgb(186 9 138)
HSLhsl(316.27 90.77% 38.24%)
OKLCHoklch(0.53 0.22 344.09)
CMYKcmyk(0% 95.16% 25.81% 27.06%)
Android#ffba098a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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