Skip to content

#ccc7cc

a light, muted gray · warm · closest name: silver

RGB
204, 199, 204
HSL
300°, 5%, 79%
CMYK
0, 3, 0, 20
Luminance
0.5804

Every format

HEX#ccc7cc
RGBrgb(204, 199, 204)
HSLhsl(300, 5%, 79%)
CMYKcmyk(0%, 3%, 0%, 20%)
LABlab(80.8 2.6 -1.9)
LCHlch(80.8 3.2 324.5)
OKLCHoklch(0.835 0.009 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7cc on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7cc on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow0.0%
Key (black)20.0%

Color previews

#ccc7cc text on a black background

contrast 12.61:1

Card sample

#ccc7cc text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7cc in the Color Lab