Skip to content

#ccaccc

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

RGB
204, 172, 204
HSL
300°, 24%, 74%
CMYK
0, 16, 0, 20
Luminance
0.4670

Every format

HEX#ccaccc
RGBrgb(204, 172, 204)
HSLhsl(300, 24%, 74%)
CMYKcmyk(0%, 16%, 0%, 20%)
LABlab(74.0 17.2 -11.9)
LCHlch(74.0 20.9 325.3)
OKLCHoklch(0.782 0.057 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccaccc on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#ccaccc on black: 10.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow0.0%
Key (black)20.0%

Color previews

#ccaccc text on a black background

contrast 10.34:1

Card sample

#ccaccc text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaccc in the Color Lab