#afacb8
a light, muted gray · warm · closest name: silver
RGB
175, 172, 184
HSL
255°, 8%, 70%
CMYK
5, 7, 0, 28
Luminance
0.4208
Every format
| HEX | #afacb8 |
| RGB | rgb(175, 172, 184) |
| HSL | hsl(255, 8%, 70%) |
| CMYK | cmyk(5%, 7%, 0%, 28%) |
| LAB | lab(70.9 3.4 -5.8) |
| LCH | lch(70.9 6.7 300.3) |
| OKLCH | oklch(0.751 0.017 297.4) |
Copy-ready code
/* CSS */
color: #afacb8;
background-color: #afacb8;
/* Tailwind (arbitrary) */
class="text-[#afacb8] bg-[#afacb8]"
/* SCSS */
$brand: #afacb8;
/* SwiftUI */
Color(red: 0.686, green: 0.675, blue: 0.722)
/* Android */
Color.parseColor("#afacb8")Accessibility — WCAG contrast
Aa
#afacb8 on white: 2.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afacb8 on black: 9.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green67.5%
Blue72.2%
CMYK percentages
Cyan4.9%
Magenta6.5%
Yellow0.0%
Key (black)27.8%
Color previews
#afacb8 text on a black background
contrast 9.42:1
Card sample
#afacb8 text on a white background
contrast 2.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afacb8;
Background color
Panel with #afacb8 background
background-color: #afacb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afacb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 172, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 172, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afacb8; background: linear-gradient(135deg, #afacb8, #B7ACB8);