Skip to content

#b20607

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

RGB
178, 6, 7
HSL
360°, 94%, 36%
CMYK
0, 97, 96, 30
Luminance
0.0961

Every format

HEX#b20607
RGBrgb(178, 6, 7)
HSLhsl(360, 94%, 36%)
CMYKcmyk(0%, 97%, 96%, 30%)
LABlab(37.1 60.5 48.6)
LCHlch(37.1 77.6 38.8)
OKLCHoklch(0.482 0.195 28.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b20607 on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#b20607 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green2.4%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta96.6%
Yellow96.1%
Key (black)30.2%

Color previews

#b20607 text on a black background

contrast 2.92:1

Card sample

#b20607 text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 6, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 6, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b20607;
background: linear-gradient(135deg, #b20607, #B27806);

Monochromatic scale

Palettes built from #b20607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b20607 in the Color Lab