Skip to content
Vectorlight.net

#ba165e

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

HEX
#ba165e
RGB
186, 22, 94
HSL
333.66°, 78.85%, 40.78%
OKLCH
0.52 0.2 2.51
Names
—
Lists

Codes

FormatValue
HEX#ba165e
RGBrgb(186 22 94)
HSLhsl(333.66 78.85% 40.78%)
OKLCHoklch(0.52 0.2 2.51)
CMYKcmyk(0% 88.17% 49.46% 27.06%)
Android#ffba165e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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