Skip to content

#ffabf9

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

RGB
255, 171, 249
HSL
304°, 100%, 84%
CMYK
0, 33, 2, 0
Luminance
0.5723

Every format

HEX#ffabf9
RGBrgb(255, 171, 249)
HSLhsl(304, 100%, 84%)
CMYKcmyk(0%, 33%, 2%, 0%)
LABlab(80.3 42.6 -26.3)
LCHlch(80.3 50.0 328.3)
OKLCHoklch(0.847 0.139 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.1%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow2.4%
Key (black)0.0%

Color previews

#ffabf9 text on a black background

contrast 12.45:1

Card sample

#ffabf9 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffabf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffabf9 in the Color Lab