Skip to content

#ffd3f2

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

RGB
255, 211, 242
HSL
318°, 100%, 91%
CMYK
0, 17, 5, 0
Luminance
0.7426

Every format

HEX#ffd3f2
RGBrgb(255, 211, 242)
HSLhsl(318, 100%, 91%)
CMYKcmyk(0%, 17%, 5%, 0%)
LABlab(89.0 20.4 -9.4)
LCHlch(89.0 22.4 335.3)
OKLCHoklch(0.913 0.063 336.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd3f2 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#ffd3f2 on black: 15.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green82.7%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta17.3%
Yellow5.1%
Key (black)0.0%

Color previews

#ffd3f2 text on a black background

contrast 15.85:1

Card sample

#ffd3f2 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd3f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd3f2 in the Color Lab