Skip to content

#ff3dfd

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

RGB
255, 61, 253
HSL
301°, 100%, 62%
CMYK
0, 76, 1, 0
Luminance
0.3169

Every format

HEX#ff3dfd
RGBrgb(255, 61, 253)
HSLhsl(301, 100%, 62%)
CMYKcmyk(0%, 76%, 1%, 0%)
LABlab(63.1 89.5 -55.3)
LCHlch(63.1 105.2 328.3)
OKLCHoklch(0.721 0.294 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green23.9%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta76.1%
Yellow0.8%
Key (black)0.0%

Color previews

#ff3dfd text on a black background

contrast 7.34:1

Card sample

#ff3dfd text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff3dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff3dfd in the Color Lab