Skip to content

#ff4cdf

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

RGB
255, 76, 223
HSL
311°, 100%, 65%
CMYK
0, 70, 13, 0
Luminance
0.3176

Every format

HEX#ff4cdf
RGBrgb(255, 76, 223)
HSLhsl(311, 100%, 65%)
CMYKcmyk(0%, 70%, 13%, 0%)
LABlab(63.1 80.9 -38.5)
LCHlch(63.1 89.6 334.5)
OKLCHoklch(0.717 0.259 336.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4cdf on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#ff4cdf on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.8%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta70.2%
Yellow12.5%
Key (black)0.0%

Color previews

#ff4cdf text on a black background

contrast 7.35:1

Card sample

#ff4cdf text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4cdf in the Color Lab