Skip to content

#ba4539

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

RGB
186, 69, 57
HSL
6°, 53%, 48%
CMYK
0, 63, 69, 27
Luminance
0.1499

Every format

HEX#ba4539
RGBrgb(186, 69, 57)
HSLhsl(6, 53%, 48%)
CMYKcmyk(0%, 63%, 69%, 27%)
LABlab(45.6 46.5 32.1)
LCHlch(45.6 56.5 34.6)
OKLCHoklch(0.549 0.154 28.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4539 on white: 5.25:1
AA ✓ pass · AA-large · AAA
Aa
#ba4539 on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green27.1%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta62.9%
Yellow69.4%
Key (black)27.1%

Color previews

#ba4539 text on a black background

contrast 4.00:1

Card sample

#ba4539 text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4539

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba4539 in the Color Lab