Skip to content

#fe4fdf

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

RGB
254, 79, 223
HSL
311°, 99%, 65%
CMYK
0, 69, 12, 0
Luminance
0.3199

Every format

HEX#fe4fdf
RGBrgb(254, 79, 223)
HSLhsl(311, 99%, 65%)
CMYKcmyk(0%, 69%, 12%, 0%)
LABlab(63.3 79.6 -38.2)
LCHlch(63.3 88.3 334.4)
OKLCHoklch(0.718 0.255 335.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe4fdf on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#fe4fdf on black: 7.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green31.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta68.9%
Yellow12.2%
Key (black)0.4%

Color previews

#fe4fdf text on a black background

contrast 7.40:1

Card sample

#fe4fdf text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 79, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 79, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fe4fdf;
background: linear-gradient(135deg, #fe4fdf, #FE4F6A);

Monochromatic scale

Palettes built from #fe4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe4fdf in the Color Lab