Skip to content

#ba4921

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

RGB
186, 73, 33
HSL
16°, 70%, 43%
CMYK
0, 61, 82, 27
Luminance
0.1531

Every format

HEX#ba4921
RGBrgb(186, 73, 33)
HSLhsl(16, 70%, 43%)
CMYKcmyk(0%, 61%, 82%, 27%)
LABlab(46.1 43.6 45.4)
LCHlch(46.1 62.9 46.1)
OKLCHoklch(0.551 0.155 38.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4921 on white: 5.17:1
AA ✓ pass · AA-large · AAA
Aa
#ba4921 on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green28.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta60.8%
Yellow82.3%
Key (black)27.1%

Color previews

#ba4921 text on a black background

contrast 4.06:1

Card sample

#ba4921 text on a white background

contrast 5.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba4921 in the Color Lab