Skip to content

#fc6df2

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

RGB
252, 109, 242
HSL
304°, 96%, 71%
CMYK
0, 57, 4, 1
Luminance
0.3804

Every format

HEX#fc6df2
RGBrgb(252, 109, 242)
HSLhsl(304, 96%, 71%)
CMYKcmyk(0%, 57%, 4%, 1%)
LABlab(68.1 70.5 -41.4)
LCHlch(68.1 81.8 329.6)
OKLCHoklch(0.754 0.230 330.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc6df2 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#fc6df2 on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green42.7%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta56.7%
Yellow4.0%
Key (black)1.2%

Color previews

#fc6df2 text on a black background

contrast 8.61:1

Card sample

#fc6df2 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc6df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc6df2 in the Color Lab