Skip to content

#a82e3f

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

RGB
168, 46, 63
HSL
352°, 57%, 42%
CMYK
0, 73, 63, 34
Luminance
0.1064

Every format

HEX#a82e3f
RGBrgb(168, 46, 63)
HSLhsl(352, 57%, 42%)
CMYKcmyk(0%, 73%, 63%, 34%)
LABlab(39.0 50.3 19.5)
LCHlch(39.0 54.0 21.2)
OKLCHoklch(0.493 0.157 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a82e3f on white: 6.71:1
AA ✓ pass · AA-large · AAA
Aa
#a82e3f on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green18.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta72.6%
Yellow62.5%
Key (black)34.1%

Color previews

#a82e3f text on a black background

contrast 3.13:1

Card sample

#a82e3f text on a white background

contrast 6.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a82e3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a82e3f in the Color Lab