Skip to content

#ac4fac

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

RGB
172, 79, 172
HSL
300°, 37%, 49%
CMYK
0, 54, 0, 33
Luminance
0.1734

Every format

HEX#ac4fac
RGBrgb(172, 79, 172)
HSLhsl(300, 37%, 49%)
CMYKcmyk(0%, 54%, 0%, 33%)
LABlab(48.7 50.9 -32.8)
LCHlch(48.7 60.5 327.2)
OKLCHoklch(0.579 0.168 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green31.0%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta54.1%
Yellow0.0%
Key (black)32.5%

Color previews

#ac4fac text on a black background

contrast 4.47:1

Card sample

#ac4fac text on a white background

contrast 4.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4fac in the Color Lab