Skip to content

#ffacf3

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

RGB
255, 172, 243
HSL
309°, 100%, 84%
CMYK
0, 33, 5, 0
Luminance
0.5724

Every format

HEX#ffacf3
RGBrgb(255, 172, 243)
HSLhsl(309, 100%, 84%)
CMYKcmyk(0%, 33%, 5%, 0%)
LABlab(80.3 41.0 -23.0)
LCHlch(80.3 47.0 330.7)
OKLCHoklch(0.847 0.132 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.5%
Blue95.3%

CMYK percentages

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

Color previews

#ffacf3 text on a black background

contrast 12.45:1

Card sample

#ffacf3 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacf3 in the Color Lab