Skip to content

#ffacfc

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

RGB
255, 172, 252
HSL
302°, 100%, 84%
CMYK
0, 33, 1, 0
Luminance
0.5779

Every format

HEX#ffacfc
RGBrgb(255, 172, 252)
HSLhsl(302, 100%, 84%)
CMYKcmyk(0%, 33%, 1%, 0%)
LABlab(80.6 42.6 -27.4)
LCHlch(80.6 50.6 327.2)
OKLCHoklch(0.850 0.140 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.5%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow1.2%
Key (black)0.0%

Color previews

#ffacfc text on a black background

contrast 12.56:1

Card sample

#ffacfc text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacfc in the Color Lab