Skip to content
Vectorlight.net

#bc0540

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

HEX
#bc0540
RGB
188, 5, 64
HSL
340.66°, 94.82%, 37.84%
OKLCH
0.51 0.2 14.35
Names
—
Lists

Codes

FormatValue
HEX#bc0540
RGBrgb(188 5 64)
HSLhsl(340.66 94.82% 37.84%)
OKLCHoklch(0.51 0.2 14.35)
CMYKcmyk(0% 97.34% 65.96% 26.27%)
Android#ffbc0540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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