Skip to content

#fd5af0

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

RGB
253, 90, 240
HSL
305°, 98%, 67%
CMYK
0, 64, 5, 1
Luminance
0.3449

Every format

HEX#fd5af0
RGBrgb(253, 90, 240)
HSLhsl(305, 98%, 67%)
CMYKcmyk(0%, 64%, 5%, 1%)
LABlab(65.3 78.0 -44.6)
LCHlch(65.3 89.8 330.3)
OKLCHoklch(0.734 0.254 331.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd5af0 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#fd5af0 on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green35.3%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta64.4%
Yellow5.1%
Key (black)0.8%

Color previews

#fd5af0 text on a black background

contrast 7.90:1

Card sample

#fd5af0 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd5af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd5af0 in the Color Lab