Skip to content
Vectorlight.net

#ba428e

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

HEX
#ba428e
RGB
186, 66, 142
HSL
322°, 47.62%, 49.41%
OKLCH
0.57 0.17 345.1
Names
—
Lists

Codes

FormatValue
HEX#ba428e
RGBrgb(186 66 142)
HSLhsl(322 47.62% 49.41%)
OKLCHoklch(0.57 0.17 345.1)
CMYKcmyk(0% 64.52% 23.66% 27.06%)
Android#ffba428e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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