Skip to content
Vectorlight.net

#ba285f

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

HEX
#ba285f
RGB
186, 40, 95
HSL
337.4°, 64.6%, 44.31%
OKLCH
0.53 0.18 3.89
Names
—
Lists

Codes

FormatValue
HEX#ba285f
RGBrgb(186 40 95)
HSLhsl(337.4 64.6% 44.31%)
OKLCHoklch(0.53 0.18 3.89)
CMYKcmyk(0% 78.49% 48.92% 27.06%)
Android#ffba285f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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