Skip to content

#686271

a dark, muted gray · warm · closest name: gray

RGB
104, 98, 113
HSL
264°, 7%, 41%
CMYK
8, 13, 0, 56
Luminance
0.1287

Every format

HEX#686271
RGBrgb(104, 98, 113)
HSLhsl(264, 7%, 41%)
CMYKcmyk(8%, 13%, 0%, 56%)
LABlab(42.6 5.5 -7.6)
LCHlch(42.6 9.4 306.1)
OKLCHoklch(0.507 0.025 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#686271 on white: 5.88:1
AA ✓ pass · AA-large · AAA
Aa
#686271 on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.8%
Green38.4%
Blue44.3%

CMYK percentages

Cyan8.0%
Magenta13.3%
Yellow0.0%
Key (black)55.7%

Color previews

#686271 text on a black background

contrast 3.57:1

Card sample

#686271 text on a white background

contrast 5.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(104, 98, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 98, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #686271;
background: linear-gradient(135deg, #686271, #716270);

Monochromatic scale

Palettes built from #686271

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #686271 in the Color Lab