Skip to content

#ba2849

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

RGB
186, 40, 73
HSL
346°, 65%, 44%
CMYK
0, 79, 61, 27
Luminance
0.1244

Every format

HEX#ba2849
RGBrgb(186, 40, 73)
HSLhsl(346, 65%, 44%)
CMYKcmyk(0%, 79%, 61%, 27%)
LABlab(41.9 58.4 17.7)
LCHlch(41.9 61.0 16.9)
OKLCHoklch(0.522 0.181 13.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2849 on white: 6.02:1
AA ✓ pass · AA-large · AAA
Aa
#ba2849 on black: 3.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green15.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow60.8%
Key (black)27.1%

Color previews

#ba2849 text on a black background

contrast 3.49:1

Card sample

#ba2849 text on a white background

contrast 6.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2849

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba2849 in the Color Lab