Skip to content

#ac56af

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

RGB
172, 86, 175
HSL
298°, 36%, 51%
CMYK
2, 51, 0, 31
Luminance
0.1852

Every format

HEX#ac56af
RGBrgb(172, 86, 175)
HSLhsl(298, 36%, 51%)
CMYKcmyk(2%, 51%, 0%, 31%)
LABlab(50.1 48.0 -32.3)
LCHlch(50.1 57.9 326.0)
OKLCHoklch(0.590 0.159 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac56af on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#ac56af on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green33.7%
Blue68.6%

CMYK percentages

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

Color previews

#ac56af text on a black background

contrast 4.70:1

Card sample

#ac56af text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac56af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac56af in the Color Lab