Skip to content
Vectorlight.net

#bd271b

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

HEX
#bd271b
RGB
189, 39, 27
HSL
4.44°, 75%, 42.35%
OKLCH
0.52 0.19 29.58
Names
—
Lists

Codes

FormatValue
HEX#bd271b
RGBrgb(189 39 27)
HSLhsl(4.44 75% 42.35%)
OKLCHoklch(0.52 0.19 29.58)
CMYKcmyk(0% 79.37% 85.71% 25.88%)
Android#ffbd271b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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