Skip to content

#ffd2f8

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

RGB
255, 210, 248
HSL
309°, 100%, 91%
CMYK
0, 18, 3, 0
Luminance
0.7413

Every format

HEX#ffd2f8
RGBrgb(255, 210, 248)
HSLhsl(309, 100%, 91%)
CMYKcmyk(0%, 18%, 3%, 0%)
LABlab(89.0 22.0 -12.6)
LCHlch(89.0 25.3 330.1)
OKLCHoklch(0.913 0.070 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green82.4%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow2.7%
Key (black)0.0%

Color previews

#ffd2f8 text on a black background

contrast 15.83:1

Card sample

#ffd2f8 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd2f8 in the Color Lab