Skip to content

#ba4021

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

RGB
186, 64, 33
HSL
12°, 70%, 43%
CMYK
0, 66, 82, 27
Luminance
0.1422

Every format

HEX#ba4021
RGBrgb(186, 64, 33)
HSLhsl(12, 70%, 43%)
CMYKcmyk(0%, 66%, 82%, 27%)
LABlab(44.5 47.7 43.9)
LCHlch(44.5 64.8 42.7)
OKLCHoklch(0.540 0.163 35.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4021 on white: 5.46:1
AA ✓ pass · AA-large · AAA
Aa
#ba4021 on black: 3.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green25.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta65.6%
Yellow82.3%
Key (black)27.1%

Color previews

#ba4021 text on a black background

contrast 3.84:1

Card sample

#ba4021 text on a white background

contrast 5.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba4021 in the Color Lab