Skip to content

#ffafee

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

RGB
255, 175, 238
HSL
313°, 100%, 84%
CMYK
0, 31, 7, 0
Luminance
0.5809

Every format

HEX#ffafee
RGBrgb(255, 175, 238)
HSLhsl(313, 100%, 84%)
CMYKcmyk(0%, 31%, 7%, 0%)
LABlab(80.8 38.6 -19.6)
LCHlch(80.8 43.3 333.1)
OKLCHoklch(0.850 0.122 334.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffafee on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ffafee on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow6.7%
Key (black)0.0%

Color previews

#ffafee text on a black background

contrast 12.62:1

Card sample

#ffafee text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafee in the Color Lab