Skip to content
Vectorlight.net

#bc0227

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

HEX
#bc0227
RGB
188, 2, 39
HSL
348.06°, 97.89%, 37.25%
OKLCH
0.5 0.2 22.61
Names
—
Lists

Codes

FormatValue
HEX#bc0227
RGBrgb(188 2 39)
HSLhsl(348.06 97.89% 37.25%)
OKLCHoklch(0.5 0.2 22.61)
CMYKcmyk(0% 98.94% 79.26% 26.27%)
Android#ffbc0227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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