Skip to content
Vectorlight.net

#ba239b

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

HEX
#ba239b
RGB
186, 35, 155
HSL
312.32°, 68.33%, 43.33%
OKLCH
0.55 0.22 338.37
Names
—
Lists

Codes

FormatValue
HEX#ba239b
RGBrgb(186 35 155)
HSLhsl(312.32 68.33% 43.33%)
OKLCHoklch(0.55 0.22 338.37)
CMYKcmyk(0% 81.18% 16.67% 27.06%)
Android#ffba239b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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