Skip to content

#8fa2ab

a balanced, muted cyan · cool · closest name: gray

RGB
143, 162, 171
HSL
199°, 14%, 62%
CMYK
16, 5, 0, 33
Luminance
0.3462

Every format

HEX#8fa2ab
RGBrgb(143, 162, 171)
HSLhsl(199, 14%, 62%)
CMYKcmyk(16%, 5%, 0%, 33%)
LABlab(65.5 -4.7 -6.9)
LCHlch(65.5 8.4 235.7)
OKLCHoklch(0.700 0.025 227.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fa2ab on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#8fa2ab on black: 7.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green63.5%
Blue67.1%

CMYK percentages

Cyan16.4%
Magenta5.3%
Yellow0.0%
Key (black)32.9%

Color previews

#8fa2ab text on a black background

contrast 7.92:1

Card sample

#8fa2ab text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 162, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 162, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fa2ab;
background: linear-gradient(135deg, #8fa2ab, #8F8FAB);

Monochromatic scale

Palettes built from #8fa2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fa2ab in the Color Lab