Skip to content

#fc9df3

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

RGB
252, 157, 243
HSL
306°, 94%, 80%
CMYK
0, 38, 4, 1
Luminance
0.5128

Every format

HEX#fc9df3
RGBrgb(252, 157, 243)
HSLhsl(306, 94%, 80%)
CMYKcmyk(0%, 38%, 4%, 1%)
LABlab(76.8 47.8 -28.4)
LCHlch(76.8 55.6 329.3)
OKLCHoklch(0.820 0.155 330.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green61.6%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta37.7%
Yellow3.6%
Key (black)1.2%

Color previews

#fc9df3 text on a black background

contrast 11.26:1

Card sample

#fc9df3 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 157, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 157, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc9df3;
background: linear-gradient(135deg, #fc9df3, #FC9DB4);

Monochromatic scale

Palettes built from #fc9df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc9df3 in the Color Lab