Skip to content

#ab3e2f

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

RGB
171, 62, 47
HSL
7°, 57%, 43%
CMYK
0, 64, 73, 33
Luminance
0.1231

Every format

HEX#ab3e2f
RGBrgb(171, 62, 47)
HSLhsl(7, 57%, 43%)
CMYKcmyk(0%, 64%, 73%, 33%)
LABlab(41.7 43.8 32.7)
LCHlch(41.7 54.6 36.7)
OKLCHoklch(0.514 0.146 30.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab3e2f on white: 6.07:1
AA ✓ pass · AA-large · AAA
Aa
#ab3e2f on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green24.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta63.7%
Yellow72.5%
Key (black)32.9%

Color previews

#ab3e2f text on a black background

contrast 3.46:1

Card sample

#ab3e2f text on a white background

contrast 6.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 62, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 62, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab3e2f;
background: linear-gradient(135deg, #ab3e2f, #AB912F);

Monochromatic scale

Palettes built from #ab3e2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab3e2f in the Color Lab