Skip to content
Vectorlight.net

#ba868f

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

HEX
#ba868f
RGB
186, 134, 143
HSL
349.62°, 27.37%, 62.75%
OKLCH
0.67 0.06 7.49
Names
—
Lists

Codes

FormatValue
HEX#ba868f
RGBrgb(186 134 143)
HSLhsl(349.62 27.37% 62.75%)
OKLCHoklch(0.67 0.06 7.49)
CMYKcmyk(0% 27.96% 23.12% 27.06%)
Android#ffba868f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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