Skip to content

#ff4fdf

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

RGB
255, 79, 223
HSL
311°, 100%, 66%
CMYK
0, 69, 13, 0
Luminance
0.3218

Every format

HEX#ff4fdf
RGBrgb(255, 79, 223)
HSLhsl(311, 100%, 66%)
CMYKcmyk(0%, 69%, 13%, 0%)
LABlab(63.5 79.9 -38.0)
LCHlch(63.5 88.4 334.6)
OKLCHoklch(0.719 0.256 336.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4fdf on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#ff4fdf on black: 7.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green31.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta69.0%
Yellow12.5%
Key (black)0.0%

Color previews

#ff4fdf text on a black background

contrast 7.44:1

Card sample

#ff4fdf text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4fdf in the Color Lab