#c2afbf
a light, muted magenta / pink · warm · closest name: silver
RGB
194, 175, 191
HSL
310°, 14%, 72%
CMYK
0, 10, 2, 24
Luminance
0.4589
Every format
| HEX | #c2afbf |
| RGB | rgb(194, 175, 191) |
| HSL | hsl(310, 14%, 72%) |
| CMYK | cmyk(0%, 10%, 2%, 24%) |
| LAB | lab(73.5 9.7 -5.7) |
| LCH | lch(73.5 11.2 329.7) |
| OKLCH | oklch(0.775 0.031 331.0) |
Copy-ready code
/* CSS */
color: #c2afbf;
background-color: #c2afbf;
/* Tailwind (arbitrary) */
class="text-[#c2afbf] bg-[#c2afbf]"
/* SCSS */
$brand: #c2afbf;
/* SwiftUI */
Color(red: 0.761, green: 0.686, blue: 0.749)
/* Android */
Color.parseColor("#c2afbf")Accessibility — WCAG contrast
Aa
#c2afbf on white: 2.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2afbf on black: 10.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green68.6%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta9.8%
Yellow1.5%
Key (black)23.9%
Color previews
#c2afbf text on a black background
contrast 10.18:1
Card sample
#c2afbf text on a white background
contrast 2.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2afbf;
Background color
Panel with #c2afbf background
background-color: #c2afbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2afbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 175, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 175, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2afbf; background: linear-gradient(135deg, #c2afbf, #C2AFB2);