Skip to content
Vectorlight.net

#ba025e

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

HEX
#ba025e
RGB
186, 2, 94
HSL
330°, 97.87%, 36.86%
OKLCH
0.51 0.21 1.53
Names
—
Lists

Codes

FormatValue
HEX#ba025e
RGBrgb(186 2 94)
HSLhsl(330 97.87% 36.86%)
OKLCHoklch(0.51 0.21 1.53)
CMYKcmyk(0% 98.92% 49.46% 27.06%)
Android#ffba025e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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