Skip to content

#ac4dac

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

RGB
172, 77, 172
HSL
300°, 38%, 49%
CMYK
0, 55, 0, 33
Luminance
0.1706

Every format

HEX#ac4dac
RGBrgb(172, 77, 172)
HSLhsl(300, 38%, 49%)
CMYKcmyk(0%, 55%, 0%, 33%)
LABlab(48.3 51.8 -33.4)
LCHlch(48.3 61.6 327.2)
OKLCHoklch(0.576 0.171 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4dac on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#ac4dac on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green30.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta55.2%
Yellow0.0%
Key (black)32.5%

Color previews

#ac4dac text on a black background

contrast 4.41:1

Card sample

#ac4dac text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4dac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4dac in the Color Lab