Skip to content

#b3afb3

a light, muted gray · warm · closest name: silver

RGB
179, 175, 179
HSL
300°, 3%, 69%
CMYK
0, 2, 0, 30
Luminance
0.4350

Every format

HEX#b3afb3
RGBrgb(179, 175, 179)
HSLhsl(300, 3%, 69%)
CMYKcmyk(0%, 2%, 0%, 30%)
LABlab(71.9 2.2 -1.5)
LCHlch(71.9 2.6 324.5)
OKLCHoklch(0.758 0.007 325.6)

Copy-ready code

/* CSS */
color: #b3afb3;
background-color: #b3afb3;
/* Tailwind (arbitrary) */
class="text-[#b3afb3] bg-[#b3afb3]"
/* SCSS */
$brand: #b3afb3;
/* SwiftUI */
Color(red: 0.702, green: 0.686, blue: 0.702)
/* Android */
Color.parseColor("#b3afb3")

Accessibility — WCAG contrast

Aa
#b3afb3 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#b3afb3 on black: 9.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green68.6%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow0.0%
Key (black)29.8%

Color previews

#b3afb3 text on a black background

contrast 9.70:1

Card sample

#b3afb3 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #b3afb3;
Background color
Panel with #b3afb3 background
background-color: #b3afb3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #b3afb3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(179, 175, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 175, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3afb3;
background: linear-gradient(135deg, #b3afb3, #B3AFB0);

Monochromatic scale

Palettes built from #b3afb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3afb3 in the Color Lab