Skip to content

#ba3049

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

RGB
186, 48, 73
HSL
349°, 59%, 46%
CMYK
0, 74, 61, 27
Luminance
0.1303

Every format

HEX#ba3049
RGBrgb(186, 48, 73)
HSLhsl(349, 59%, 46%)
CMYKcmyk(0%, 74%, 61%, 27%)
LABlab(42.8 55.8 18.9)
LCHlch(42.8 59.0 18.8)
OKLCHoklch(0.529 0.174 15.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba3049 on white: 5.82:1
AA ✓ pass · AA-large · AAA
Aa
#ba3049 on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green18.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta74.2%
Yellow60.8%
Key (black)27.1%

Color previews

#ba3049 text on a black background

contrast 3.61:1

Card sample

#ba3049 text on a white background

contrast 5.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba3049 in the Color Lab