Skip to content

#ffafdf

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

RGB
255, 175, 223
HSL
324°, 100%, 84%
CMYK
0, 31, 13, 0
Luminance
0.5725

Every format

HEX#ffafdf
RGBrgb(255, 175, 223)
HSLhsl(324, 100%, 84%)
CMYKcmyk(0%, 31%, 13%, 0%)
LABlab(80.3 36.1 -12.2)
LCHlch(80.3 38.1 341.3)
OKLCHoklch(0.845 0.111 343.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow12.5%
Key (black)0.0%

Color previews

#ffafdf text on a black background

contrast 12.45:1

Card sample

#ffafdf text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafdf in the Color Lab