Skip to content

#b01021

a dark, electric red · warm · closest name: firebrick

RGB
176, 16, 33
HSL
354°, 83%, 38%
CMYK
0, 91, 81, 31
Luminance
0.0971

Every format

HEX#b01021
RGBrgb(176, 16, 33)
HSLhsl(354, 83%, 38%)
CMYKcmyk(0%, 91%, 81%, 31%)
LABlab(37.3 59.2 36.3)
LCHlch(37.3 69.5 31.5)
OKLCHoklch(0.483 0.188 24.5)

Copy-ready code

/* CSS */
color: #b01021;
background-color: #b01021;
/* Tailwind (arbitrary) */
class="text-[#b01021] bg-[#b01021]"
/* SCSS */
$brand: #b01021;
/* SwiftUI */
Color(red: 0.690, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#b01021")

Accessibility — WCAG contrast

Aa
#b01021 on white: 7.14:1
AA ✓ pass · AA-large · AAA
Aa
#b01021 on black: 2.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green6.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta90.9%
Yellow81.3%
Key (black)31.0%

Color previews

#b01021 text on a black background

contrast 2.94:1

Card sample

#b01021 text on a white background

contrast 7.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #b01021;
Background color
Panel with #b01021 background
background-color: #b01021;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #b01021;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(176, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 16, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b01021;
background: linear-gradient(135deg, #b01021, #B06910);

Monochromatic scale

Palettes built from #b01021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b01021 in the Color Lab