Skip to content
Vectorlight.net

#bd271a

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

HEX
#bd271a
RGB
189, 39, 26
HSL
4.79°, 75.81%, 42.16%
OKLCH
0.52 0.19 29.78
Names
—
Lists

Codes

FormatValue
HEX#bd271a
RGBrgb(189 39 26)
HSLhsl(4.79 75.81% 42.16%)
OKLCHoklch(0.52 0.19 29.78)
CMYKcmyk(0% 79.37% 86.24% 25.88%)
Android#ffbd271a

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

Recolor an SVG with this color

CSS

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