Skip to content

#ba0921

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

RGB
186, 9, 33
HSL
352°, 91%, 38%
CMYK
0, 95, 82, 27
Luminance
0.1074

Every format

HEX#ba0921
RGBrgb(186, 9, 33)
HSLhsl(352, 91%, 38%)
CMYKcmyk(0%, 95%, 82%, 27%)
LABlab(39.1 62.7 38.8)
LCHlch(39.1 73.8 31.7)
OKLCHoklch(0.500 0.199 24.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba0921 on white: 6.67:1
AA ✓ pass · AA-large · AAA
Aa
#ba0921 on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green3.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta95.2%
Yellow82.3%
Key (black)27.1%

Color previews

#ba0921 text on a black background

contrast 3.15:1

Card sample

#ba0921 text on a white background

contrast 6.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba0921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba0921 in the Color Lab