Skip to content

#ffcafc

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

RGB
255, 202, 252
HSL
303°, 100%, 90%
CMYK
0, 21, 1, 0
Luminance
0.7053

Every format

HEX#ffcafc
RGBrgb(255, 202, 252)
HSLhsl(303, 100%, 90%)
CMYKcmyk(0%, 21%, 1%, 0%)
LABlab(87.3 26.9 -17.3)
LCHlch(87.3 32.0 327.2)
OKLCHoklch(0.901 0.088 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcafc on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#ffcafc on black: 15.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green79.2%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow1.2%
Key (black)0.0%

Color previews

#ffcafc text on a black background

contrast 15.11:1

Card sample

#ffcafc text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcafc in the Color Lab