#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 |
| RGB | rgb(104, 98, 113) |
| HSL | hsl(264, 7%, 41%) |
| CMYK | cmyk(8%, 13%, 0%, 56%) |
| LAB | lab(42.6 5.5 -7.6) |
| LCH | lch(42.6 9.4 306.1) |
| OKLCH | oklch(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);