Skip to content
Vectorlight.net

#ba0232

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

HEX
#ba0232
RGB
186, 2, 50
HSL
344.35°, 97.87%, 36.86%
OKLCH
0.5 0.2 19.01
Names
—
Lists

Codes

FormatValue
HEX#ba0232
RGBrgb(186 2 50)
HSLhsl(344.35 97.87% 36.86%)
OKLCHoklch(0.5 0.2 19.01)
CMYKcmyk(0% 98.92% 73.12% 27.06%)
Android#ffba0232

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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