Skip to content

#ccafb4

a light, soft red · warm · closest name: silver

RGB
204, 175, 180
HSL
350°, 22%, 74%
CMYK
0, 14, 12, 20
Luminance
0.4679

Every format

HEX#ccafb4
RGBrgb(204, 175, 180)
HSLhsl(350, 22%, 74%)
CMYKcmyk(0%, 14%, 12%, 20%)
LABlab(74.1 11.3 1.3)
LCHlch(74.1 11.4 6.7)
OKLCHoklch(0.781 0.034 6.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green68.6%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow11.8%
Key (black)20.0%

Color previews

#ccafb4 text on a black background

contrast 10.36:1

Card sample

#ccafb4 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccafb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccafb4 in the Color Lab