Skip to content

#ba5949

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

RGB
186, 89, 73
HSL
9°, 45%, 51%
CMYK
0, 52, 61, 27
Luminance
0.1806

Every format

HEX#ba5949
RGBrgb(186, 89, 73)
HSLhsl(9, 45%, 51%)
CMYKcmyk(0%, 52%, 61%, 27%)
LABlab(49.6 37.8 27.7)
LCHlch(49.6 46.9 36.2)
OKLCHoklch(0.580 0.129 31.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba5949 on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#ba5949 on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green34.9%
Blue28.6%

CMYK percentages

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

Color previews

#ba5949 text on a black background

contrast 4.61:1

Card sample

#ba5949 text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba5949

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba5949 in the Color Lab