#ccaccf
a light, soft magenta / pink · warm · closest name: plum
RGB
204, 172, 207
HSL
295°, 27%, 74%
CMYK
1, 17, 0, 19
Luminance
0.4685
Every format
| HEX | #ccaccf |
| RGB | rgb(204, 172, 207) |
| HSL | hsl(295, 27%, 74%) |
| CMYK | cmyk(1%, 17%, 0%, 19%) |
| LAB | lab(74.1 17.8 -13.4) |
| LCH | lch(74.1 22.2 322.9) |
| OKLCH | oklch(0.783 0.060 323.4) |
Copy-ready code
/* CSS */
color: #ccaccf;
background-color: #ccaccf;
/* Tailwind (arbitrary) */
class="text-[#ccaccf] bg-[#ccaccf]"
/* SCSS */
$brand: #ccaccf;
/* SwiftUI */
Color(red: 0.800, green: 0.675, blue: 0.812)
/* Android */
Color.parseColor("#ccaccf")Accessibility — WCAG contrast
Aa
#ccaccf on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccaccf on black: 10.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.5%
Blue81.2%
CMYK percentages
Cyan1.4%
Magenta16.9%
Yellow0.0%
Key (black)18.8%
Color previews
#ccaccf text on a black background
contrast 10.37:1
Card sample
#ccaccf text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccaccf;
Background color
Panel with #ccaccf background
background-color: #ccaccf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccaccf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 172, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 172, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccaccf; background: linear-gradient(135deg, #ccaccf, #CFACBB);