#afacb2
a light, muted gray · warm · closest name: silver
RGB
175, 172, 178
HSL
270°, 4%, 69%
CMYK
2, 3, 0, 30
Luminance
0.4183
Every format
| HEX | #afacb2 |
| RGB | rgb(175, 172, 178) |
| HSL | hsl(270, 4%, 69%) |
| CMYK | cmyk(2%, 3%, 0%, 30%) |
| LAB | lab(70.8 2.2 -2.7) |
| LCH | lch(70.8 3.5 309.3) |
| OKLCH | oklch(0.749 0.009 308.3) |
Copy-ready code
/* CSS */
color: #afacb2;
background-color: #afacb2;
/* Tailwind (arbitrary) */
class="text-[#afacb2] bg-[#afacb2]"
/* SCSS */
$brand: #afacb2;
/* SwiftUI */
Color(red: 0.686, green: 0.675, blue: 0.698)
/* Android */
Color.parseColor("#afacb2")Accessibility — WCAG contrast
Aa
#afacb2 on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afacb2 on black: 9.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green67.5%
Blue69.8%
CMYK percentages
Cyan1.7%
Magenta3.4%
Yellow0.0%
Key (black)30.2%
Color previews
#afacb2 text on a black background
contrast 9.37:1
Card sample
#afacb2 text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afacb2;
Background color
Panel with #afacb2 background
background-color: #afacb2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afacb2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 172, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 172, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afacb2; background: linear-gradient(135deg, #afacb2, #B2ACB1);