Skip to content

#ba4530

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

RGB
186, 69, 48
HSL
9°, 59%, 46%
CMYK
0, 63, 74, 27
Luminance
0.1491

Every format

HEX#ba4530
RGBrgb(186, 69, 48)
HSLhsl(9, 59%, 46%)
CMYKcmyk(0%, 63%, 74%, 27%)
LABlab(45.5 46.0 37.1)
LCHlch(45.5 59.1 38.8)
OKLCHoklch(0.548 0.155 32.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4530 on white: 5.27:1
AA ✓ pass · AA-large · AAA
Aa
#ba4530 on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green27.1%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta62.9%
Yellow74.2%
Key (black)27.1%

Color previews

#ba4530 text on a black background

contrast 3.98:1

Card sample

#ba4530 text on a white background

contrast 5.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4530

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba4530 in the Color Lab