Skip to content
Vectorlight.net

#ba255b

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

HEX
#ba255b
RGB
186, 37, 91
HSL
338.26°, 66.82%, 43.73%
OKLCH
0.52 0.19 5.34
Names
—
Lists

Codes

FormatValue
HEX#ba255b
RGBrgb(186 37 91)
HSLhsl(338.26 66.82% 43.73%)
OKLCHoklch(0.52 0.19 5.34)
CMYKcmyk(0% 80.11% 51.08% 27.06%)
Android#ffba255b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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