Skip to content

#b00021

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

RGB
176, 0, 33
HSL
349°, 100%, 35%
CMYK
0, 100, 81, 31
Luminance
0.0934

Every format

HEX#b00021
RGBrgb(176, 0, 33)
HSLhsl(349, 100%, 35%)
CMYKcmyk(0%, 100%, 81%, 31%)
LABlab(36.6 61.2 35.6)
LCHlch(36.6 70.8 30.2)
OKLCHoklch(0.478 0.193 23.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b00021 on white: 7.32:1
AA ✓ pass · AA-large · AAA
Aa
#b00021 on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green0.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow81.3%
Key (black)31.0%

Color previews

#b00021 text on a black background

contrast 2.87:1

Card sample

#b00021 text on a white background

contrast 7.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b00021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b00021 in the Color Lab