Skip to content

#ff6df2

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

RGB
255, 109, 242
HSL
305°, 100%, 71%
CMYK
0, 57, 5, 0
Luminance
0.3861

Every format

HEX#ff6df2
RGBrgb(255, 109, 242)
HSLhsl(305, 100%, 71%)
CMYKcmyk(0%, 57%, 5%, 0%)
LABlab(68.5 71.3 -40.8)
LCHlch(68.5 82.1 330.2)
OKLCHoklch(0.758 0.232 331.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff6df2 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#ff6df2 on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green42.7%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta57.3%
Yellow5.1%
Key (black)0.0%

Color previews

#ff6df2 text on a black background

contrast 8.72:1

Card sample

#ff6df2 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff6df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff6df2 in the Color Lab