Skip to content

#ac0ace

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

RGB
172, 10, 206
HSL
290°, 91%, 42%
CMYK
17, 95, 0, 19
Luminance
0.1344

Every format

HEX#ac0ace
RGBrgb(172, 10, 206)
HSLhsl(290, 91%, 42%)
CMYKcmyk(17%, 95%, 0%, 19%)
LABlab(43.4 77.6 -61.0)
LCHlch(43.4 98.7 321.8)
OKLCHoklch(0.548 0.261 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac0ace on white: 5.69:1
AA ✓ pass · AA-large · AAA
Aa
#ac0ace on black: 3.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green3.9%
Blue80.8%

CMYK percentages

Cyan16.5%
Magenta95.1%
Yellow0.0%
Key (black)19.2%

Color previews

#ac0ace text on a black background

contrast 3.69:1

Card sample

#ac0ace text on a white background

contrast 5.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac0ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac0ace in the Color Lab