Skip to content

#ac64ac

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

RGB
172, 100, 172
HSL
300°, 30%, 53%
CMYK
0, 42, 0, 33
Luminance
0.2086

Every format

HEX#ac64ac
RGBrgb(172, 100, 172)
HSLhsl(300, 30%, 53%)
CMYKcmyk(0%, 42%, 0%, 33%)
LABlab(52.8 40.1 -26.4)
LCHlch(52.8 48.0 326.6)
OKLCHoklch(0.609 0.133 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac64ac on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#ac64ac on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green39.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta41.9%
Yellow0.0%
Key (black)32.5%

Color previews

#ac64ac text on a black background

contrast 5.17:1

Card sample

#ac64ac text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac64ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac64ac in the Color Lab