Skip to content
Vectorlight.net

#ba718b

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

HEX
#ba718b
RGB
186, 113, 139
HSL
338.63°, 34.6%, 58.63%
OKLCH
0.64 0.1 357.37
Names
—
Lists

Codes

FormatValue
HEX#ba718b
RGBrgb(186 113 139)
HSLhsl(338.63 34.6% 58.63%)
OKLCHoklch(0.64 0.1 357.37)
CMYKcmyk(0% 39.25% 25.27% 27.06%)
Android#ffba718b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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