#afb1b2
a light, muted gray · cool · closest name: silver
RGB
175, 177, 178
HSL
200°, 2%, 69%
CMYK
2, 1, 0, 30
Luminance
0.4377
Every format
| HEX | #afb1b2 |
| RGB | rgb(175, 177, 178) |
| HSL | hsl(200, 2%, 69%) |
| CMYK | cmyk(2%, 1%, 0%, 30%) |
| LAB | lab(72.1 -0.5 -0.8) |
| LCH | lch(72.1 0.9 236.1) |
| OKLCH | oklch(0.759 0.003 228.8) |
Copy-ready code
/* CSS */
color: #afb1b2;
background-color: #afb1b2;
/* Tailwind (arbitrary) */
class="text-[#afb1b2] bg-[#afb1b2]"
/* SCSS */
$brand: #afb1b2;
/* SwiftUI */
Color(red: 0.686, green: 0.694, blue: 0.698)
/* Android */
Color.parseColor("#afb1b2")Accessibility — WCAG contrast
Aa
#afb1b2 on white: 2.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb1b2 on black: 9.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green69.4%
Blue69.8%
CMYK percentages
Cyan1.7%
Magenta0.6%
Yellow0.0%
Key (black)30.2%
Color previews
#afb1b2 text on a black background
contrast 9.75:1
Card sample
#afb1b2 text on a white background
contrast 2.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb1b2;
Background color
Panel with #afb1b2 background
background-color: #afb1b2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb1b2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 177, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 177, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb1b2; background: linear-gradient(135deg, #afb1b2, #AFAFB2);