Skip to content

#ac48af

a balanced, soft magenta / pink · warm · closest name: orchid

RGB
172, 72, 175
HSL
298°, 42%, 48%
CMYK
2, 59, 0, 31
Luminance
0.1650

Every format

HEX#ac48af
RGBrgb(172, 72, 175)
HSLhsl(298, 42%, 48%)
CMYKcmyk(2%, 59%, 0%, 31%)
LABlab(47.6 54.7 -36.2)
LCHlch(47.6 65.6 326.5)
OKLCHoklch(0.572 0.181 326.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac48af on white: 4.88:1
AA ✓ pass · AA-large · AAA
Aa
#ac48af on black: 4.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green28.2%
Blue68.6%

CMYK percentages

Cyan1.7%
Magenta58.9%
Yellow0.0%
Key (black)31.4%

Color previews

#ac48af text on a black background

contrast 4.30:1

Card sample

#ac48af text on a white background

contrast 4.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac48af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac48af in the Color Lab