Skip to content
Vectorlight.net

#ba259e

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

HEX
#ba259e
RGB
186, 37, 158
HSL
311.28°, 66.82%, 43.73%
OKLCH
0.55 0.22 337.33
Names
—
Lists

Codes

FormatValue
HEX#ba259e
RGBrgb(186 37 158)
HSLhsl(311.28 66.82% 43.73%)
OKLCHoklch(0.55 0.22 337.33)
CMYKcmyk(0% 80.11% 15.05% 27.06%)
Android#ffba259e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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