Skip to content

#ac2d4f

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

RGB
172, 45, 79
HSL
344°, 59%, 43%
CMYK
0, 74, 54, 33
Luminance
0.1121

Every format

HEX#ac2d4f
RGBrgb(172, 45, 79)
HSLhsl(344, 59%, 43%)
CMYKcmyk(0%, 74%, 54%, 33%)
LABlab(39.9 53.1 10.8)
LCHlch(39.9 54.2 11.5)
OKLCHoklch(0.503 0.164 9.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2d4f on white: 6.48:1
AA ✓ pass · AA-large · AAA
Aa
#ac2d4f on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.6%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta73.8%
Yellow54.1%
Key (black)32.5%

Color previews

#ac2d4f text on a black background

contrast 3.24:1

Card sample

#ac2d4f text on a white background

contrast 6.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2d4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2d4f in the Color Lab