#b2afb4
a light, muted gray · warm · closest name: silver
RGB
178, 175, 180
HSL
276°, 3%, 70%
CMYK
1, 3, 0, 29
Luminance
0.4342
Every format
| HEX | #b2afb4 |
| RGB | rgb(178, 175, 180) |
| HSL | hsl(276, 3%, 70%) |
| CMYK | cmyk(1%, 3%, 0%, 29%) |
| LAB | lab(71.8 2.0 -2.2) |
| LCH | lch(71.8 3.0 312.7) |
| OKLCH | oklch(0.758 0.008 312.3) |
Copy-ready code
/* CSS */
color: #b2afb4;
background-color: #b2afb4;
/* Tailwind (arbitrary) */
class="text-[#b2afb4] bg-[#b2afb4]"
/* SCSS */
$brand: #b2afb4;
/* SwiftUI */
Color(red: 0.698, green: 0.686, blue: 0.706)
/* Android */
Color.parseColor("#b2afb4")Accessibility — WCAG contrast
Aa
#b2afb4 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2afb4 on black: 9.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green68.6%
Blue70.6%
CMYK percentages
Cyan1.1%
Magenta2.8%
Yellow0.0%
Key (black)29.4%
Color previews
#b2afb4 text on a black background
contrast 9.68:1
Card sample
#b2afb4 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2afb4;
Background color
Panel with #b2afb4 background
background-color: #b2afb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2afb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 175, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 175, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2afb4; background: linear-gradient(135deg, #b2afb4, #B4AFB3);