Skip to content

#ffacf8

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

RGB
255, 172, 248
HSL
305°, 100%, 84%
CMYK
0, 33, 3, 0
Luminance
0.5754

Every format

HEX#ffacf8
RGBrgb(255, 172, 248)
HSLhsl(305, 100%, 84%)
CMYKcmyk(0%, 33%, 3%, 0%)
LABlab(80.5 41.9 -25.5)
LCHlch(80.5 49.0 328.7)
OKLCHoklch(0.848 0.136 329.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffacf8 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ffacf8 on black: 12.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.5%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow2.7%
Key (black)0.0%

Color previews

#ffacf8 text on a black background

contrast 12.51:1

Card sample

#ffacf8 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacf8 in the Color Lab