Skip to content

#ffabf4

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

RGB
255, 171, 244
HSL
308°, 100%, 84%
CMYK
0, 33, 4, 0
Luminance
0.5692

Every format

HEX#ffabf4
RGBrgb(255, 171, 244)
HSLhsl(308, 100%, 84%)
CMYKcmyk(0%, 33%, 4%, 0%)
LABlab(80.1 41.7 -23.9)
LCHlch(80.1 48.0 330.2)
OKLCHoklch(0.845 0.134 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffabf4 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ffabf4 on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.1%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow4.3%
Key (black)0.0%

Color previews

#ffabf4 text on a black background

contrast 12.38:1

Card sample

#ffabf4 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffabf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffabf4 in the Color Lab