Skip to content
Vectorlight.net

#ba877f

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

HEX
#ba877f
RGB
186, 135, 127
HSL
8.14°, 29.95%, 61.37%
OKLCH
0.67 0.06 28.91
Names
—
Lists

Codes

FormatValue
HEX#ba877f
RGBrgb(186 135 127)
HSLhsl(8.14 29.95% 61.37%)
OKLCHoklch(0.67 0.06 28.91)
CMYKcmyk(0% 27.42% 31.72% 27.06%)
Android#ffba877f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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