Skip to content

#ffcaf0

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

RGB
255, 202, 240
HSL
317°, 100%, 90%
CMYK
0, 21, 6, 0
Luminance
0.6979

Every format

HEX#ffcaf0
RGBrgb(255, 202, 240)
HSLhsl(317, 100%, 90%)
CMYKcmyk(0%, 21%, 6%, 0%)
LABlab(86.9 24.8 -11.5)
LCHlch(86.9 27.3 335.1)
OKLCHoklch(0.897 0.077 336.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcaf0 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#ffcaf0 on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green79.2%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow5.9%
Key (black)0.0%

Color previews

#ffcaf0 text on a black background

contrast 14.96:1

Card sample

#ffcaf0 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcaf0 in the Color Lab