Skip to content

#ac2dbf

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

RGB
172, 45, 191
HSL
292°, 62%, 46%
CMYK
10, 76, 0, 25
Luminance
0.1441

Every format

HEX#ac2dbf
RGBrgb(172, 45, 191)
HSLhsl(292, 62%, 46%)
CMYKcmyk(10%, 76%, 0%, 25%)
LABlab(44.8 68.0 -50.1)
LCHlch(44.8 84.4 323.6)
OKLCHoklch(0.554 0.228 322.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2dbf on white: 5.41:1
AA ✓ pass · AA-large · AAA
Aa
#ac2dbf on black: 3.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.6%
Blue74.9%

CMYK percentages

Cyan9.9%
Magenta76.4%
Yellow0.0%
Key (black)25.1%

Color previews

#ac2dbf text on a black background

contrast 3.88:1

Card sample

#ac2dbf text on a white background

contrast 5.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2dbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2dbf in the Color Lab