Skip to content
Vectorlight.net

#ba798d

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

HEX
#ba798d
RGB
186, 121, 141
HSL
341.54°, 32.02%, 60.2%
OKLCH
0.65 0.08 359.76
Names
—
Lists

Codes

FormatValue
HEX#ba798d
RGBrgb(186 121 141)
HSLhsl(341.54 32.02% 60.2%)
OKLCHoklch(0.65 0.08 359.76)
CMYKcmyk(0% 34.95% 24.19% 27.06%)
Android#ffba798d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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