Skip to content

#ba2000

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

RGB
186, 32, 0
HSL
10°, 100%, 37%
CMYK
0, 83, 100, 27
Luminance
0.1147

Every format

HEX#ba2000
RGBrgb(186, 32, 0)
HSLhsl(10, 100%, 37%)
CMYKcmyk(0%, 83%, 100%, 27%)
LABlab(40.4 58.2 53.7)
LCHlch(40.4 79.2 42.7)
OKLCHoklch(0.508 0.191 32.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2000 on white: 6.37:1
AA ✓ pass · AA-large · AAA
Aa
#ba2000 on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green12.5%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta82.8%
Yellow100.0%
Key (black)27.1%

Color previews

#ba2000 text on a black background

contrast 3.29:1

Card sample

#ba2000 text on a white background

contrast 6.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba2000 in the Color Lab