Skip to content

#ffacef

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

RGB
255, 172, 239
HSL
312°, 100%, 84%
CMYK
0, 33, 6, 0
Luminance
0.5700

Every format

HEX#ffacef
RGBrgb(255, 172, 239)
HSLhsl(312, 100%, 84%)
CMYKcmyk(0%, 33%, 6%, 0%)
LABlab(80.2 40.3 -21.1)
LCHlch(80.2 45.5 332.4)
OKLCHoklch(0.845 0.128 333.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.5%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow6.3%
Key (black)0.0%

Color previews

#ffacef text on a black background

contrast 12.40:1

Card sample

#ffacef text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffacef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffacef in the Color Lab