Skip to content

#ffcafd

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

RGB
255, 202, 253
HSL
302°, 100%, 90%
CMYK
0, 21, 1, 0
Luminance
0.7059

Every format

HEX#ffcafd
RGBrgb(255, 202, 253)
HSLhsl(302, 100%, 90%)
CMYKcmyk(0%, 21%, 1%, 0%)
LABlab(87.3 27.1 -17.8)
LCHlch(87.3 32.4 326.6)
OKLCHoklch(0.901 0.089 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green79.2%
Blue99.2%

CMYK percentages

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

Color previews

#ffcafd text on a black background

contrast 15.12:1

Card sample

#ffcafd text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcafd in the Color Lab