Skip to content

#ffcfd7

a pale, electric red · warm · closest name: pink

RGB
255, 207, 215
HSL
350°, 100%, 91%
CMYK
0, 19, 16, 0
Luminance
0.7079

Every format

HEX#ffcfd7
RGBrgb(255, 207, 215)
HSLhsl(350, 100%, 91%)
CMYKcmyk(0%, 19%, 16%, 0%)
LABlab(87.4 18.1 2.5)
LCHlch(87.4 18.3 7.7)
OKLCHoklch(0.898 0.055 7.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green81.2%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow15.7%
Key (black)0.0%

Color previews

#ffcfd7 text on a black background

contrast 15.16:1

Card sample

#ffcfd7 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcfd7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcfd7 in the Color Lab