Skip to content

#ac1ace

a balanced, electric violet · warm · closest name: magenta

RGB
172, 26, 206
HSL
289°, 78%, 46%
CMYK
17, 87, 0, 19
Luminance
0.1397

Every format

HEX#ac1ace
RGBrgb(172, 26, 206)
HSLhsl(289, 78%, 46%)
CMYKcmyk(17%, 87%, 0%, 19%)
LABlab(44.2 75.3 -59.8)
LCHlch(44.2 96.2 321.5)
OKLCHoklch(0.553 0.254 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac1ace on white: 5.54:1
AA ✓ pass · AA-large · AAA
Aa
#ac1ace on black: 3.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green10.2%
Blue80.8%

CMYK percentages

Cyan16.5%
Magenta87.4%
Yellow0.0%
Key (black)19.2%

Color previews

#ac1ace text on a black background

contrast 3.79:1

Card sample

#ac1ace text on a white background

contrast 5.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac1ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac1ace in the Color Lab