Skip to content

#ffadf2

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

RGB
255, 173, 242
HSL
310°, 100%, 84%
CMYK
0, 32, 5, 0
Luminance
0.5756

Every format

HEX#ffadf2
RGBrgb(255, 173, 242)
HSLhsl(310, 100%, 84%)
CMYKcmyk(0%, 32%, 5%, 0%)
LABlab(80.5 40.3 -22.2)
LCHlch(80.5 46.0 331.1)
OKLCHoklch(0.848 0.129 332.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffadf2 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ffadf2 on black: 12.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.8%
Blue94.9%

CMYK percentages

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

Color previews

#ffadf2 text on a black background

contrast 12.51:1

Card sample

#ffadf2 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffadf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffadf2 in the Color Lab