Skip to content

#ff9df6

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

RGB
255, 157, 246
HSL
306°, 100%, 81%
CMYK
0, 38, 4, 0
Luminance
0.5203

Every format

HEX#ff9df6
RGBrgb(255, 157, 246)
HSLhsl(306, 100%, 81%)
CMYKcmyk(0%, 38%, 4%, 0%)
LABlab(77.3 49.2 -29.3)
LCHlch(77.3 57.3 329.3)
OKLCHoklch(0.824 0.160 330.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff9df6 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#ff9df6 on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green61.6%
Blue96.5%

CMYK percentages

Cyan0.0%
Magenta38.4%
Yellow3.5%
Key (black)0.0%

Color previews

#ff9df6 text on a black background

contrast 11.41:1

Card sample

#ff9df6 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff9df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff9df6 in the Color Lab