Skip to content
Vectorlight.net

#ba269c

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

HEX
#ba269c
RGB
186, 38, 156
HSL
312.16°, 66.07%, 43.92%
OKLCH
0.55 0.22 338.07
Names
—
Lists

Codes

FormatValue
HEX#ba269c
RGBrgb(186 38 156)
HSLhsl(312.16 66.07% 43.92%)
OKLCHoklch(0.55 0.22 338.07)
CMYKcmyk(0% 79.57% 16.13% 27.06%)
Android#ffba269c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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