Skip to content

#ffabf2

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

RGB
255, 171, 242
HSL
309°, 100%, 84%
CMYK
0, 33, 5, 0
Luminance
0.5680

Every format

HEX#ffabf2
RGBrgb(255, 171, 242)
HSLhsl(309, 100%, 84%)
CMYKcmyk(0%, 33%, 5%, 0%)
LABlab(80.1 41.4 -22.9)
LCHlch(80.1 47.3 331.1)
OKLCHoklch(0.845 0.133 332.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.1%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow5.1%
Key (black)0.0%

Color previews

#ffabf2 text on a black background

contrast 12.36:1

Card sample

#ffabf2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffabf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffabf2 in the Color Lab