Skip to content
Vectorlight.net

#ba2740

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

HEX
#ba2740
RGB
186, 39, 64
HSL
349.8°, 65.33%, 44.12%
OKLCH
0.52 0.18 17.58
Names
—
Lists

Codes

FormatValue
HEX#ba2740
RGBrgb(186 39 64)
HSLhsl(349.8 65.33% 44.12%)
OKLCHoklch(0.52 0.18 17.58)
CMYKcmyk(0% 79.03% 65.59% 27.06%)
Android#ffba2740

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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