#b4afba
a light, muted gray · warm · closest name: silver
RGB
180, 175, 186
HSL
267°, 7%, 71%
CMYK
3, 6, 0, 27
Luminance
0.4391
Every format
| HEX | #b4afba |
| RGB | rgb(180, 175, 186) |
| HSL | hsl(267, 7%, 71%) |
| CMYK | cmyk(3%, 6%, 0%, 27%) |
| LAB | lab(72.2 3.9 -5.0) |
| LCH | lch(72.2 6.3 307.8) |
| OKLCH | oklch(0.761 0.016 306.3) |
Copy-ready code
/* CSS */
color: #b4afba;
background-color: #b4afba;
/* Tailwind (arbitrary) */
class="text-[#b4afba] bg-[#b4afba]"
/* SCSS */
$brand: #b4afba;
/* SwiftUI */
Color(red: 0.706, green: 0.686, blue: 0.729)
/* Android */
Color.parseColor("#b4afba")Accessibility — WCAG contrast
Aa
#b4afba on white: 2.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4afba on black: 9.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green68.6%
Blue72.9%
CMYK percentages
Cyan3.2%
Magenta5.9%
Yellow0.0%
Key (black)27.1%
Color previews
#b4afba text on a black background
contrast 9.78:1
Card sample
#b4afba text on a white background
contrast 2.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4afba;
Background color
Panel with #b4afba background
background-color: #b4afba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4afba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 175, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 175, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4afba; background: linear-gradient(135deg, #b4afba, #BAAFB9);