Skip to content

#ac5abc

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

RGB
172, 90, 188
HSL
290°, 42%, 55%
CMYK
9, 52, 0, 26
Luminance
0.1971

Every format

HEX#ac5abc
RGBrgb(172, 90, 188)
HSLhsl(290, 42%, 55%)
CMYKcmyk(9%, 52%, 0%, 26%)
LABlab(51.5 48.5 -37.7)
LCHlch(51.5 61.4 322.1)
OKLCHoklch(0.602 0.166 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac5abc on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#ac5abc on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green35.3%
Blue73.7%

CMYK percentages

Cyan8.5%
Magenta52.1%
Yellow0.0%
Key (black)26.3%

Color previews

#ac5abc text on a black background

contrast 4.94:1

Card sample

#ac5abc text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac5abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac5abc in the Color Lab