Skip to content
Vectorlight.net

#ba897e

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

HEX
#ba897e
RGB
186, 137, 126
HSL
11°, 30.3%, 61.18%
OKLCH
0.67 0.06 32.99
Names
—
Lists

Codes

FormatValue
HEX#ba897e
RGBrgb(186 137 126)
HSLhsl(11 30.3% 61.18%)
OKLCHoklch(0.67 0.06 32.99)
CMYKcmyk(0% 26.34% 32.26% 27.06%)
Android#ffba897e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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