Skip to content
Vectorlight.net

#ba504a

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

HEX
#ba504a
RGB
186, 80, 74
HSL
3.21°, 44.8%, 50.98%
OKLCH
0.57 0.14 25.7
Names
—
Lists

Codes

FormatValue
HEX#ba504a
RGBrgb(186 80 74)
HSLhsl(3.21 44.8% 50.98%)
OKLCHoklch(0.57 0.14 25.7)
CMYKcmyk(0% 56.99% 60.22% 27.06%)
Android#ffba504a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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