Skip to content

#ffc2e2

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

RGB
255, 194, 226
HSL
329°, 100%, 88%
CMYK
0, 24, 11, 0
Luminance
0.6533

Every format

HEX#ffc2e2
RGBrgb(255, 194, 226)
HSLhsl(329, 100%, 88%)
CMYKcmyk(0%, 24%, 11%, 0%)
LABlab(84.7 26.6 -7.4)
LCHlch(84.7 27.6 344.5)
OKLCHoklch(0.878 0.080 346.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green76.1%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow11.4%
Key (black)0.0%

Color previews

#ffc2e2 text on a black background

contrast 14.07:1

Card sample

#ffc2e2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc2e2 in the Color Lab