Skip to content

#ff6dfb

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

RGB
255, 109, 251
HSL
302°, 100%, 71%
CMYK
0, 57, 2, 0
Luminance
0.3916

Every format

HEX#ff6dfb
RGBrgb(255, 109, 251)
HSLhsl(302, 100%, 71%)
CMYKcmyk(0%, 57%, 2%, 0%)
LABlab(68.9 72.7 -45.1)
LCHlch(68.9 85.5 328.2)
OKLCHoklch(0.762 0.239 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff6dfb on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#ff6dfb on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green42.7%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta57.3%
Yellow1.6%
Key (black)0.0%

Color previews

#ff6dfb text on a black background

contrast 8.83:1

Card sample

#ff6dfb text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff6dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff6dfb in the Color Lab