Skip to content

#ffacf2

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

RGB
255, 172, 242
HSL
309°, 100%, 84%
CMYK
0, 33, 5, 0
Luminance
0.5718

Every format

HEX#ffacf2
RGBrgb(255, 172, 242)
HSLhsl(309, 100%, 84%)
CMYKcmyk(0%, 33%, 5%, 0%)
LABlab(80.3 40.8 -22.6)
LCHlch(80.3 46.6 331.1)
OKLCHoklch(0.846 0.131 332.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffacf2 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ffacf2 on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow5.1%
Key (black)0.0%

Color previews

#ffacf2 text on a black background

contrast 12.44:1

Card sample

#ffacf2 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacf2 in the Color Lab