Skip to content

#b30021

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

RGB
179, 0, 33
HSL
349°, 100%, 35%
CMYK
0, 100, 82, 30
Luminance
0.0969

Every format

HEX#b30021
RGBrgb(179, 0, 33)
HSLhsl(349, 100%, 35%)
CMYKcmyk(0%, 100%, 82%, 30%)
LABlab(37.3 62.0 36.5)
LCHlch(37.3 71.9 30.5)
OKLCHoklch(0.484 0.195 23.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.2%
Green0.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow81.6%
Key (black)29.8%

Color previews

#b30021 text on a black background

contrast 2.94:1

Card sample

#b30021 text on a white background

contrast 7.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b30021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b30021 in the Color Lab