Skip to content

#fd6afe

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

RGB
253, 106, 254
HSL
300°, 99%, 71%
CMYK
0, 58, 0, 0
Luminance
0.3835

Every format

HEX#fd6afe
RGBrgb(253, 106, 254)
HSLhsl(300, 99%, 71%)
CMYKcmyk(0%, 58%, 0%, 0%)
LABlab(68.3 74.0 -47.7)
LCHlch(68.3 88.0 327.2)
OKLCHoklch(0.758 0.244 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd6afe on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#fd6afe on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green41.6%
Blue99.6%

CMYK percentages

Cyan0.4%
Magenta58.3%
Yellow0.0%
Key (black)0.4%

Color previews

#fd6afe text on a black background

contrast 8.67:1

Card sample

#fd6afe text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd6afe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd6afe in the Color Lab