Skip to content
Vectorlight.net

#ba236a

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

HEX
#ba236a
RGB
186, 35, 106
HSL
331.79°, 68.33%, 43.33%
OKLCH
0.53 0.19 358.31
Names
—
Lists

Codes

FormatValue
HEX#ba236a
RGBrgb(186 35 106)
HSLhsl(331.79 68.33% 43.33%)
OKLCHoklch(0.53 0.19 358.31)
CMYKcmyk(0% 81.18% 43.01% 27.06%)
Android#ffba236a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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