Skip to content

#ff3dfb

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

RGB
255, 61, 251
HSL
301°, 100%, 62%
CMYK
0, 76, 2, 0
Luminance
0.3156

Every format

HEX#ff3dfb
RGBrgb(255, 61, 251)
HSLhsl(301, 100%, 62%)
CMYKcmyk(0%, 76%, 2%, 0%)
LABlab(63.0 89.2 -54.4)
LCHlch(63.0 104.5 328.6)
OKLCHoklch(0.720 0.293 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff3dfb on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#ff3dfb on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green23.9%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta76.1%
Yellow1.6%
Key (black)0.0%

Color previews

#ff3dfb text on a black background

contrast 7.31:1

Card sample

#ff3dfb text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff3dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff3dfb in the Color Lab