Skip to content

#ffaefe

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

RGB
255, 174, 254
HSL
301°, 100%, 84%
CMYK
0, 32, 0, 0
Luminance
0.5869

Every format

HEX#ffaefe
RGBrgb(255, 174, 254)
HSLhsl(301, 100%, 84%)
CMYKcmyk(0%, 32%, 0%, 0%)
LABlab(81.1 41.9 -27.7)
LCHlch(81.1 50.2 326.5)
OKLCHoklch(0.854 0.138 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaefe on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ffaefe on black: 12.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.2%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta31.8%
Yellow0.4%
Key (black)0.0%

Color previews

#ffaefe text on a black background

contrast 12.74:1

Card sample

#ffaefe text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaefe in the Color Lab