#b0afb0
a light, muted gray · warm · closest name: silver
RGB
176, 175, 176
HSL
300°, 1%, 69%
CMYK
0, 1, 0, 31
Luminance
0.4302
Every format
| HEX | #b0afb0 |
| RGB | rgb(176, 175, 176) |
| HSL | hsl(300, 1%, 69%) |
| CMYK | cmyk(0%, 1%, 0%, 31%) |
| LAB | lab(71.6 0.5 -0.4) |
| LCH | lch(71.6 0.7 324.2) |
| OKLCH | oklch(0.755 0.002 325.6) |
Copy-ready code
/* CSS */
color: #b0afb0;
background-color: #b0afb0;
/* Tailwind (arbitrary) */
class="text-[#b0afb0] bg-[#b0afb0]"
/* SCSS */
$brand: #b0afb0;
/* SwiftUI */
Color(red: 0.690, green: 0.686, blue: 0.690)
/* Android */
Color.parseColor("#b0afb0")Accessibility — WCAG contrast
Aa
#b0afb0 on white: 2.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b0afb0 on black: 9.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.0%
Green68.6%
Blue69.0%
CMYK percentages
Cyan0.0%
Magenta0.6%
Yellow0.0%
Key (black)31.0%
Color previews
#b0afb0 text on a black background
contrast 9.60:1
Card sample
#b0afb0 text on a white background
contrast 2.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b0afb0;
Background color
Panel with #b0afb0 background
background-color: #b0afb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b0afb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(176, 175, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 175, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0afb0; background: linear-gradient(135deg, #b0afb0, #B0AFAF);