Skip to content

#ffcfff

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

RGB
255, 207, 255
HSL
300°, 100%, 91%
CMYK
0, 19, 0, 0
Luminance
0.7311

Every format

HEX#ffcfff
RGBrgb(255, 207, 255)
HSLhsl(300, 100%, 91%)
CMYKcmyk(0%, 19%, 0%, 0%)
LABlab(88.5 24.8 -17.1)
LCHlch(88.5 30.1 325.5)
OKLCHoklch(0.910 0.082 326.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcfff on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#ffcfff on black: 15.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ffcfff text on a black background

contrast 15.62:1

Card sample

#ffcfff text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcfff in the Color Lab