Skip to content

#ffcaf9

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

RGB
255, 202, 249
HSL
307°, 100%, 90%
CMYK
0, 21, 2, 0
Luminance
0.7034

Every format

HEX#ffcaf9
RGBrgb(255, 202, 249)
HSLhsl(307, 100%, 90%)
CMYKcmyk(0%, 21%, 2%, 0%)
LABlab(87.2 26.3 -15.9)
LCHlch(87.2 30.8 328.9)
OKLCHoklch(0.900 0.085 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green79.2%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow2.4%
Key (black)0.0%

Color previews

#ffcaf9 text on a black background

contrast 15.07:1

Card sample

#ffcaf9 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcaf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcaf9 in the Color Lab