Skip to content

#ac64b0

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

RGB
172, 100, 176
HSL
297°, 33%, 54%
CMYK
2, 43, 0, 31
Luminance
0.2102

Every format

HEX#ac64b0
RGBrgb(172, 100, 176)
HSLhsl(297, 33%, 54%)
CMYKcmyk(2%, 43%, 0%, 31%)
LABlab(53.0 40.9 -28.5)
LCHlch(53.0 49.8 325.1)
OKLCHoklch(0.611 0.137 325.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac64b0 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#ac64b0 on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green39.2%
Blue69.0%

CMYK percentages

Cyan2.3%
Magenta43.2%
Yellow0.0%
Key (black)31.0%

Color previews

#ac64b0 text on a black background

contrast 5.20:1

Card sample

#ac64b0 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac64b0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac64b0 in the Color Lab