Skip to content

#ffafe6

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

RGB
255, 175, 230
HSL
319°, 100%, 84%
CMYK
0, 31, 10, 0
Luminance
0.5763

Every format

HEX#ffafe6
RGBrgb(255, 175, 230)
HSLhsl(319, 100%, 84%)
CMYKcmyk(0%, 31%, 10%, 0%)
LABlab(80.5 37.3 -15.7)
LCHlch(80.5 40.4 337.1)
OKLCHoklch(0.847 0.116 338.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue90.2%

CMYK percentages

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

Color previews

#ffafe6 text on a black background

contrast 12.53:1

Card sample

#ffafe6 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafe6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafe6 in the Color Lab