Skip to content
Vectorlight.net

#bc0238

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

HEX
#bc0238
RGB
188, 2, 56
HSL
342.58°, 97.89%, 37.25%
OKLCH
0.51 0.2 17.15
Names
—
Lists

Codes

FormatValue
HEX#bc0238
RGBrgb(188 2 56)
HSLhsl(342.58 97.89% 37.25%)
OKLCHoklch(0.51 0.2 17.15)
CMYKcmyk(0% 98.94% 70.21% 26.27%)
Android#ffbc0238

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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