Skip to content

#ffccc2

a pale, electric red · warm · closest name: pink

RGB
255, 204, 194
HSL
10°, 100%, 88%
CMYK
0, 20, 24, 0
Luminance
0.6834

Every format

HEX#ffccc2
RGBrgb(255, 204, 194)
HSLhsl(10, 100%, 88%)
CMYKcmyk(0%, 20%, 24%, 0%)
LABlab(86.2 16.6 11.8)
LCHlch(86.2 20.4 35.5)
OKLCHoklch(0.887 0.060 31.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffccc2 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ffccc2 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.0%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow23.9%
Key (black)0.0%

Color previews

#ffccc2 text on a black background

contrast 14.67:1

Card sample

#ffccc2 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffccc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffccc2 in the Color Lab