Skip to content
Vectorlight.net

#bc0228

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

HEX
#bc0228
RGB
188, 2, 40
HSL
347.74°, 97.89%, 37.25%
OKLCH
0.5 0.2 22.32
Names
—
Lists

Codes

FormatValue
HEX#bc0228
RGBrgb(188 2 40)
HSLhsl(347.74 97.89% 37.25%)
OKLCHoklch(0.5 0.2 22.32)
CMYKcmyk(0% 98.94% 78.72% 26.27%)
Android#ffbc0228

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.60: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="#bc0228"
Gradient stop
<stop stop-color="#bc0228"/>
CSS variable + fill
:root { --c: #bc0228; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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