Skip to content
Vectorlight.net

#ba088f

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

HEX
#ba088f
RGB
186, 8, 143
HSL
314.49°, 91.75%, 38.04%
OKLCH
0.53 0.23 342.25
Names
—
Lists

Codes

FormatValue
HEX#ba088f
RGBrgb(186 8 143)
HSLhsl(314.49 91.75% 38.04%)
OKLCHoklch(0.53 0.23 342.25)
CMYKcmyk(0% 95.7% 23.12% 27.06%)
Android#ffba088f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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