Skip to content

#f2acf9

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

RGB
242, 172, 249
HSL
295°, 87%, 83%
CMYK
3, 31, 0, 2
Luminance
0.5522

Every format

HEX#f2acf9
RGBrgb(242, 172, 249)
HSLhsl(295, 87%, 83%)
CMYKcmyk(3%, 31%, 0%, 2%)
LABlab(79.2 38.0 -28.1)
LCHlch(79.2 47.3 323.5)
OKLCHoklch(0.836 0.129 323.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2acf9 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#f2acf9 on black: 12.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.5%
Blue97.6%

CMYK percentages

Cyan2.8%
Magenta30.9%
Yellow0.0%
Key (black)2.4%

Color previews

#f2acf9 text on a black background

contrast 12.04:1

Card sample

#f2acf9 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2acf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2acf9 in the Color Lab