Skip to content

#ba2c2c

a balanced, vivid red · warm · closest name: firebrick

RGB
186, 44, 44
HSL
0°, 62%, 45%
CMYK
0, 76, 76, 27
Luminance
0.1242

Every format

HEX#ba2c2c
RGBrgb(186, 44, 44)
HSLhsl(0, 62%, 45%)
CMYKcmyk(0%, 76%, 76%, 27%)
LABlab(41.9 55.6 35.4)
LCHlch(41.9 65.9 32.4)
OKLCHoklch(0.520 0.179 26.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2c2c on white: 6.03:1
AA ✓ pass · AA-large · AAA
Aa
#ba2c2c on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green17.3%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta76.3%
Yellow76.3%
Key (black)27.1%

Color previews

#ba2c2c text on a black background

contrast 3.48:1

Card sample

#ba2c2c text on a white background

contrast 6.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2c2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba2c2c in the Color Lab