#ccafd1
a light, soft magenta / pink · warm · closest name: plum
RGB
204, 175, 209
HSL
291°, 27%, 75%
CMYK
2, 16, 0, 18
Luminance
0.4810
Every format
| HEX | #ccafd1 |
| RGB | rgb(204, 175, 209) |
| HSL | hsl(291, 27%, 75%) |
| CMYK | cmyk(2%, 16%, 0%, 18%) |
| LAB | lab(74.9 16.5 -13.3) |
| LCH | lch(74.9 21.2 321.1) |
| OKLCH | oklch(0.790 0.057 321.3) |
Copy-ready code
/* CSS */
color: #ccafd1;
background-color: #ccafd1;
/* Tailwind (arbitrary) */
class="text-[#ccafd1] bg-[#ccafd1]"
/* SCSS */
$brand: #ccafd1;
/* SwiftUI */
Color(red: 0.800, green: 0.686, blue: 0.820)
/* Android */
Color.parseColor("#ccafd1")Accessibility — WCAG contrast
Aa
#ccafd1 on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccafd1 on black: 10.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green68.6%
Blue82.0%
CMYK percentages
Cyan2.4%
Magenta16.3%
Yellow0.0%
Key (black)18.0%
Color previews
#ccafd1 text on a black background
contrast 10.62:1
Card sample
#ccafd1 text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccafd1;
Background color
Panel with #ccafd1 background
background-color: #ccafd1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccafd1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 175, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 175, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccafd1; background: linear-gradient(135deg, #ccafd1, #D1AFBF);