Skip to content
Vectorlight.net

#ba798a

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

HEX
#ba798a
RGB
186, 121, 138
HSL
344.31°, 32.02%, 60.2%
OKLCH
0.65 0.08 2.65
Names
—
Lists

Codes

FormatValue
HEX#ba798a
RGBrgb(186 121 138)
HSLhsl(344.31 32.02% 60.2%)
OKLCHoklch(0.65 0.08 2.65)
CMYKcmyk(0% 34.95% 25.81% 27.06%)
Android#ffba798a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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