Skip to content

#fd66f2

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

RGB
253, 102, 242
HSL
304°, 97%, 70%
CMYK
0, 60, 4, 1
Luminance
0.3680

Every format

HEX#fd66f2
RGBrgb(253, 102, 242)
HSLhsl(304, 97%, 70%)
CMYKcmyk(0%, 60%, 4%, 1%)
LABlab(67.1 73.7 -42.9)
LCHlch(67.1 85.2 329.8)
OKLCHoklch(0.748 0.240 330.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd66f2 on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#fd66f2 on black: 8.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green40.0%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta59.7%
Yellow4.3%
Key (black)0.8%

Color previews

#fd66f2 text on a black background

contrast 8.36:1

Card sample

#fd66f2 text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd66f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd66f2 in the Color Lab