Skip to content

#ffacfe

a light, electric magenta / pink · warm · closest name: plum

RGB
255, 172, 254
HSL
301°, 100%, 84%
CMYK
0, 33, 0, 0
Luminance
0.5792

Every format

HEX#ffacfe
RGBrgb(255, 172, 254)
HSLhsl(301, 100%, 84%)
CMYKcmyk(0%, 33%, 0%, 0%)
LABlab(80.7 42.9 -28.4)
LCHlch(80.7 51.5 326.6)
OKLCHoklch(0.851 0.142 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffacfe on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#ffacfe on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.5%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow0.4%
Key (black)0.0%

Color previews

#ffacfe text on a black background

contrast 12.58:1

Card sample

#ffacfe text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacfe in the Color Lab