Skip to content

#ffc2e4

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

RGB
255, 194, 228
HSL
327°, 100%, 88%
CMYK
0, 24, 11, 0
Luminance
0.6545

Every format

HEX#ffc2e4
RGBrgb(255, 194, 228)
HSLhsl(327, 100%, 88%)
CMYKcmyk(0%, 24%, 11%, 0%)
LABlab(84.7 27.0 -8.4)
LCHlch(84.7 28.2 342.7)
OKLCHoklch(0.879 0.082 344.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc2e4 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ffc2e4 on black: 14.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green76.1%
Blue89.4%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow10.6%
Key (black)0.0%

Color previews

#ffc2e4 text on a black background

contrast 14.09:1

Card sample

#ffc2e4 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc2e4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc2e4 in the Color Lab