Skip to content
Vectorlight.net

#ba257e

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

HEX
#ba257e
RGB
186, 37, 126
HSL
324.16°, 66.82%, 43.73%
OKLCH
0.54 0.2 349.76
Names
—
Lists

Codes

FormatValue
HEX#ba257e
RGBrgb(186 37 126)
HSLhsl(324.16 66.82% 43.73%)
OKLCHoklch(0.54 0.2 349.76)
CMYKcmyk(0% 80.11% 32.26% 27.06%)
Android#ffba257e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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