Skip to content

#ac2c6f

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

RGB
172, 44, 111
HSL
329°, 59%, 42%
CMYK
0, 74, 36, 33
Luminance
0.1172

Every format

HEX#ac2c6f
RGBrgb(172, 44, 111)
HSLhsl(329, 59%, 42%)
CMYKcmyk(0%, 74%, 36%, 33%)
LABlab(40.8 56.5 -8.1)
LCHlch(40.8 57.1 351.8)
OKLCHoklch(0.512 0.174 353.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2c6f on white: 6.28:1
AA ✓ pass · AA-large · AAA
Aa
#ac2c6f on black: 3.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.3%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta74.4%
Yellow35.5%
Key (black)32.5%

Color previews

#ac2c6f text on a black background

contrast 3.34:1

Card sample

#ac2c6f text on a white background

contrast 6.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2c6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2c6f in the Color Lab