Skip to content

#fd9cfd

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

RGB
253, 156, 253
HSL
300°, 96%, 80%
CMYK
0, 38, 0, 1
Luminance
0.5175

Every format

HEX#fd9cfd
RGBrgb(253, 156, 253)
HSLhsl(300, 96%, 80%)
CMYKcmyk(0%, 38%, 0%, 1%)
LABlab(77.1 50.4 -33.3)
LCHlch(77.1 60.4 326.5)
OKLCHoklch(0.823 0.167 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd9cfd on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#fd9cfd on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green61.2%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta38.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fd9cfd text on a black background

contrast 11.35:1

Card sample

#fd9cfd text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9cfd in the Color Lab