Skip to content

#ac0049

a dark, electric magenta / pink · warm · closest name: crimson

RGB
172, 0, 73
HSL
335°, 100%, 34%
CMYK
0, 100, 58, 33
Luminance
0.0925

Every format

HEX#ac0049
RGBrgb(172, 0, 73)
HSLhsl(335, 100%, 34%)
CMYKcmyk(0%, 100%, 58%, 33%)
LABlab(36.5 62.1 9.9)
LCHlch(36.5 62.9 9.0)
OKLCHoklch(0.477 0.191 7.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac0049 on white: 7.37:1
AA ✓ pass · AA-large · AAA
Aa
#ac0049 on black: 2.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green0.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow57.6%
Key (black)32.5%

Color previews

#ac0049 text on a black background

contrast 2.85:1

Card sample

#ac0049 text on a white background

contrast 7.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac0049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac0049 in the Color Lab