Skip to content
Vectorlight.net

#ba504c

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

HEX
#ba504c
RGB
186, 80, 76
HSL
2.18°, 44.35%, 51.37%
OKLCH
0.57 0.14 24.64
Names
—
Lists

Codes

FormatValue
HEX#ba504c
RGBrgb(186 80 76)
HSLhsl(2.18 44.35% 51.37%)
OKLCHoklch(0.57 0.14 24.64)
CMYKcmyk(0% 56.99% 59.14% 27.06%)
Android#ffba504c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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