Skip to content

#ff4edc

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

RGB
255, 78, 220
HSL
312°, 100%, 65%
CMYK
0, 69, 14, 0
Luminance
0.3188

Every format

HEX#ff4edc
RGBrgb(255, 78, 220)
HSLhsl(312, 100%, 65%)
CMYKcmyk(0%, 69%, 14%, 0%)
LABlab(63.2 79.8 -36.7)
LCHlch(63.2 87.8 335.3)
OKLCHoklch(0.717 0.255 337.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4edc on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#ff4edc on black: 7.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green30.6%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow13.7%
Key (black)0.0%

Color previews

#ff4edc text on a black background

contrast 7.38:1

Card sample

#ff4edc text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 78, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 78, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4edc;
background: linear-gradient(135deg, #ff4edc, #FF4E66);

Monochromatic scale

Palettes built from #ff4edc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4edc in the Color Lab