Skip to content
Vectorlight.net

#bc152a

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

HEX
#bc152a
RGB
188, 21, 42
HSL
352.46°, 79.9%, 40.98%
OKLCH
0.51 0.2 23.1
Names
—
Lists

Codes

FormatValue
HEX#bc152a
RGBrgb(188 21 42)
HSLhsl(352.46 79.9% 40.98%)
OKLCHoklch(0.51 0.2 23.1)
CMYKcmyk(0% 88.83% 77.66% 26.27%)
Android#ffbc152a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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