Skip to content

#ff4cef

a balanced, electric magenta / pink · warm · closest name: magenta

RGB
255, 76, 239
HSL
305°, 100%, 65%
CMYK
0, 70, 6, 0
Luminance
0.3266

Every format

HEX#ff4cef
RGBrgb(255, 76, 239)
HSLhsl(305, 100%, 65%)
CMYKcmyk(0%, 70%, 6%, 0%)
LABlab(63.9 83.1 -46.3)
LCHlch(63.9 95.2 330.9)
OKLCHoklch(0.724 0.270 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4cef on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#ff4cef on black: 7.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.8%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta70.2%
Yellow6.3%
Key (black)0.0%

Color previews

#ff4cef text on a black background

contrast 7.53:1

Card sample

#ff4cef text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4cef in the Color Lab