Skip to content

#ffc2d9

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

RGB
255, 194, 217
HSL
337°, 100%, 88%
CMYK
0, 24, 15, 0
Luminance
0.6485

Every format

HEX#ffc2d9
RGBrgb(255, 194, 217)
HSLhsl(337, 100%, 88%)
CMYKcmyk(0%, 24%, 15%, 0%)
LABlab(84.4 25.2 -3.0)
LCHlch(84.4 25.4 353.3)
OKLCHoklch(0.875 0.075 354.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc2d9 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ffc2d9 on black: 13.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green76.1%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow14.9%
Key (black)0.0%

Color previews

#ffc2d9 text on a black background

contrast 13.97:1

Card sample

#ffc2d9 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc2d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc2d9 in the Color Lab