Skip to content

#ab3f2f

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

RGB
171, 63, 47
HSL
8°, 57%, 43%
CMYK
0, 63, 73, 33
Luminance
0.1242

Every format

HEX#ab3f2f
RGBrgb(171, 63, 47)
HSLhsl(8, 57%, 43%)
CMYKcmyk(0%, 63%, 73%, 33%)
LABlab(41.9 43.3 32.9)
LCHlch(41.9 54.4 37.2)
OKLCHoklch(0.515 0.145 31.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab3f2f on white: 6.03:1
AA ✓ pass · AA-large · AAA
Aa
#ab3f2f on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green24.7%
Blue18.4%

CMYK percentages

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

Color previews

#ab3f2f text on a black background

contrast 3.48:1

Card sample

#ab3f2f text on a white background

contrast 6.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab3f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab3f2f in the Color Lab