Skip to content

#ffa2df

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

RGB
255, 162, 223
HSL
321°, 100%, 82%
CMYK
0, 37, 13, 0
Luminance
0.5243

Every format

HEX#ffa2df
RGBrgb(255, 162, 223)
HSLhsl(321, 100%, 82%)
CMYKcmyk(0%, 37%, 13%, 0%)
LABlab(77.5 42.9 -16.4)
LCHlch(77.5 45.9 339.0)
OKLCHoklch(0.823 0.133 340.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffa2df on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#ffa2df on black: 11.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green63.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta36.5%
Yellow12.5%
Key (black)0.0%

Color previews

#ffa2df text on a black background

contrast 11.49:1

Card sample

#ffa2df text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffa2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffa2df in the Color Lab