Skip to content

#fd9cfb

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

RGB
253, 156, 251
HSL
301°, 96%, 80%
CMYK
0, 38, 1, 1
Luminance
0.5162

Every format

HEX#fd9cfb
RGBrgb(253, 156, 251)
HSLhsl(301, 96%, 80%)
CMYKcmyk(0%, 38%, 1%, 1%)
LABlab(77.1 50.0 -32.4)
LCHlch(77.1 59.6 327.1)
OKLCHoklch(0.822 0.165 327.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green61.2%
Blue98.4%

CMYK percentages

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

Color previews

#fd9cfb text on a black background

contrast 11.32:1

Card sample

#fd9cfb text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9cfb in the Color Lab