#7f7f7f
a balanced, muted gray · warm · “gray”
RGB
127, 127, 127
HSL
0°, 0%, 50%
CMYK
0, 0, 0, 50
Luminance
0.2122
Every format
| HEX | #7f7f7f |
| RGB | rgb(127, 127, 127) |
| HSL | hsl(0, 0%, 50%) |
| CMYK | cmyk(0%, 0%, 0%, 50%) |
| LAB | lab(53.2 0.0 0.0) |
| LCH | lch(53.2 0.0 180.0) |
| OKLCH | oklch(0.597 0.000 89.9) |
Copy-ready code
/* CSS */
color: #7f7f7f;
background-color: #7f7f7f;
/* Tailwind (arbitrary) */
class="text-[#7f7f7f] bg-[#7f7f7f]"
/* SCSS */
$brand: #7f7f7f;
/* SwiftUI */
Color(red: 0.498, green: 0.498, blue: 0.498)
/* Android */
Color.parseColor("#7f7f7f")Accessibility — WCAG contrast
Aa
#7f7f7f on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#7f7f7f on black: 5.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red49.8%
Green49.8%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)50.2%
Color previews
#7f7f7f text on a black background
contrast 5.24:1
Card sample
#7f7f7f text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7f7f7f;
Background color
Panel with #7f7f7f background
background-color: #7f7f7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7f7f7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(127, 127, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 127, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f7f7f; background: linear-gradient(135deg, #7f7f7f, #7F7F7F);