Skip to content
Vectorlight.net

#ba424e

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

HEX
#ba424e
RGB
186, 66, 78
HSL
354°, 47.62%, 49.41%
OKLCH
0.55 0.15 18
Names
—
Lists

Codes

FormatValue
HEX#ba424e
RGBrgb(186 66 78)
HSLhsl(354 47.62% 49.41%)
OKLCHoklch(0.55 0.15 18)
CMYKcmyk(0% 64.52% 58.06% 27.06%)
Android#ffba424e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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