Skip to content

#aa0022

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

RGB
170, 0, 34
HSL
348°, 100%, 33%
CMYK
0, 100, 80, 33
Luminance
0.0866

Every format

HEX#aa0022
RGBrgb(170, 0, 34)
HSLhsl(348, 100%, 33%)
CMYKcmyk(0%, 100%, 80%, 33%)
LABlab(35.3 59.7 33.2)
LCHlch(35.3 68.4 29.1)
OKLCHoklch(0.466 0.188 22.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa0022 on white: 7.69:1
AA ✓ pass · AA-large · AAA
Aa
#aa0022 on black: 2.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green0.0%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow80.0%
Key (black)33.3%

Color previews

#aa0022 text on a black background

contrast 2.73:1

Card sample

#aa0022 text on a white background

contrast 7.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa0022

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa0022 in the Color Lab