Skip to content

#ffd2f7

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

RGB
255, 210, 247
HSL
311°, 100%, 91%
CMYK
0, 18, 3, 0
Luminance
0.7407

Every format

HEX#ffd2f7
RGBrgb(255, 210, 247)
HSLhsl(311, 100%, 91%)
CMYKcmyk(0%, 18%, 3%, 0%)
LABlab(89.0 21.8 -12.2)
LCHlch(89.0 24.9 330.9)
OKLCHoklch(0.913 0.069 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd2f7 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#ffd2f7 on black: 15.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green82.4%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow3.1%
Key (black)0.0%

Color previews

#ffd2f7 text on a black background

contrast 15.81:1

Card sample

#ffd2f7 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd2f7 in the Color Lab