Skip to content

#ad2f45

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

RGB
173, 47, 69
HSL
350°, 57%, 43%
CMYK
0, 73, 60, 32
Luminance
0.1135

Every format

HEX#ad2f45
RGBrgb(173, 47, 69)
HSLhsl(350, 57%, 43%)
CMYKcmyk(0%, 73%, 60%, 32%)
LABlab(40.2 51.9 17.5)
LCHlch(40.2 54.8 18.6)
OKLCHoklch(0.504 0.162 15.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2f45 on white: 6.42:1
AA ✓ pass · AA-large · AAA
Aa
#ad2f45 on black: 3.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta72.8%
Yellow60.1%
Key (black)32.2%

Color previews

#ad2f45 text on a black background

contrast 3.27:1

Card sample

#ad2f45 text on a white background

contrast 6.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2f45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2f45 in the Color Lab