Skip to content

#ad2c4f

a dark, vivid magenta / pink · warm · closest name: firebrick

RGB
173, 44, 79
HSL
344°, 59%, 43%
CMYK
0, 75, 54, 32
Luminance
0.1125

Every format

HEX#ad2c4f
RGBrgb(173, 44, 79)
HSLhsl(344, 59%, 43%)
CMYKcmyk(0%, 75%, 54%, 32%)
LABlab(40.0 53.7 10.9)
LCHlch(40.0 54.8 11.5)
OKLCHoklch(0.504 0.166 9.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2c4f on white: 6.46:1
AA ✓ pass · AA-large · AAA
Aa
#ad2c4f on black: 3.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green17.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta74.6%
Yellow54.3%
Key (black)32.2%

Color previews

#ad2c4f text on a black background

contrast 3.25:1

Card sample

#ad2c4f text on a white background

contrast 6.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2c4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2c4f in the Color Lab