Skip to content

#fd9cf2

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

RGB
253, 156, 242
HSL
307°, 96%, 80%
CMYK
0, 38, 4, 1
Luminance
0.5107

Every format

HEX#fd9cf2
RGBrgb(253, 156, 242)
HSLhsl(307, 96%, 80%)
CMYKcmyk(0%, 38%, 4%, 1%)
LABlab(76.7 48.5 -28.0)
LCHlch(76.7 56.0 330.0)
OKLCHoklch(0.819 0.157 331.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd9cf2 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#fd9cf2 on black: 11.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green61.2%
Blue94.9%

CMYK percentages

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

Color previews

#fd9cf2 text on a black background

contrast 11.21:1

Card sample

#fd9cf2 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9cf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9cf2 in the Color Lab