Skip to content

#aa2018

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

RGB
170, 32, 24
HSL
3°, 75%, 38%
CMYK
0, 81, 86, 33
Luminance
0.0965

Every format

HEX#aa2018
RGBrgb(170, 32, 24)
HSLhsl(3, 75%, 38%)
CMYKcmyk(0%, 81%, 86%, 33%)
LABlab(37.2 53.8 40.6)
LCHlch(37.2 67.4 37.0)
OKLCHoklch(0.479 0.175 29.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa2018 on white: 7.17:1
AA ✓ pass · AA-large · AAA
Aa
#aa2018 on black: 2.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green12.5%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow85.9%
Key (black)33.3%

Color previews

#aa2018 text on a black background

contrast 2.93:1

Card sample

#aa2018 text on a white background

contrast 7.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 32, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 32, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa2018;
background: linear-gradient(135deg, #aa2018, #AA8118);

Monochromatic scale

Palettes built from #aa2018

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa2018 in the Color Lab