Skip to content
Vectorlight.net

#ba9dc3

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

HEX
#ba9dc3
RGB
186, 157, 195
HSL
285.79°, 24.05%, 69.02%
OKLCH
0.73 0.06 318.11
Names
—
Lists

Codes

FormatValue
HEX#ba9dc3
RGBrgb(186 157 195)
HSLhsl(285.79 24.05% 69.02%)
OKLCHoklch(0.73 0.06 318.11)
CMYKcmyk(4.62% 19.49% 0% 23.53%)
Android#ffba9dc3

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ba9dc3"
Gradient stop
<stop stop-color="#ba9dc3"/>
CSS variable + fill
:root { --c: #ba9dc3; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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