Skip to content

#ccafcc

a light, soft magenta / pink · warm · closest name: pink

RGB
204, 175, 204
HSL
300°, 22%, 74%
CMYK
0, 14, 0, 20
Luminance
0.4786

Every format

HEX#ccafcc
RGBrgb(204, 175, 204)
HSLhsl(300, 22%, 74%)
CMYKcmyk(0%, 14%, 0%, 20%)
LABlab(74.7 15.5 -10.8)
LCHlch(74.7 18.9 325.2)
OKLCHoklch(0.788 0.052 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccafcc on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ccafcc on black: 10.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.6%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow0.0%
Key (black)20.0%

Color previews

#ccafcc text on a black background

contrast 10.57:1

Card sample

#ccafcc text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccafcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccafcc in the Color Lab