Skip to content
Vectorlight.net

#bc231f

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

HEX
#bc231f
RGB
188, 35, 31
HSL
1.53°, 71.69%, 42.94%
OKLCH
0.52 0.19 27.96
Names
—
Lists

Codes

FormatValue
HEX#bc231f
RGBrgb(188 35 31)
HSLhsl(1.53 71.69% 42.94%)
OKLCHoklch(0.52 0.19 27.96)
CMYKcmyk(0% 81.38% 83.51% 26.27%)
Android#ffbc231f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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