Skip to content

#ba3921

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

RGB
186, 57, 33
HSL
9°, 70%, 43%
CMYK
0, 69, 82, 27
Luminance
0.1348

Every format

HEX#ba3921
RGBrgb(186, 57, 33)
HSLhsl(9, 70%, 43%)
CMYKcmyk(0%, 69%, 82%, 27%)
LABlab(43.5 50.6 42.9)
LCHlch(43.5 66.4 40.3)
OKLCHoklch(0.532 0.170 32.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba3921 on white: 5.68:1
AA ✓ pass · AA-large · AAA
Aa
#ba3921 on black: 3.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green22.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow82.3%
Key (black)27.1%

Color previews

#ba3921 text on a black background

contrast 3.70:1

Card sample

#ba3921 text on a white background

contrast 5.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba3921 in the Color Lab