Skip to content

#fff6ff

a pale, electric magenta / pink · warm · closest name: white

RGB
255, 246, 255
HSL
300°, 100%, 98%
CMYK
0, 4, 0, 0
Luminance
0.9439

Every format

HEX#fff6ff
RGBrgb(255, 246, 255)
HSLhsl(300, 100%, 98%)
CMYKcmyk(0%, 4%, 0%, 0%)
LABlab(97.8 4.6 -3.2)
LCHlch(97.8 5.6 324.6)
OKLCHoklch(0.983 0.015 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff6ff on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fff6ff on black: 19.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green96.5%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow0.0%
Key (black)0.0%

Color previews

#fff6ff text on a black background

contrast 19.88:1

Card sample

#fff6ff text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff6ff in the Color Lab