Gradient Page

#808080

#808080 is the HEX color code for
Gray
#808080

Gray

Contrast
Light
Luminance
50%
Color Conversions
Formats for Gray (#808080) in various color spaces.
#808080
128, 128, 128
0°, 0%, 50%
0%, 0%, 0%, 50%
0.6, 0, 89.9
--color-gray: #808080;

Shades & Tints

#f2f2f2
#d9d9d9
#bfbfbf
#a6a6a6
#8c8c8c
#737373
#595959
#404040
#262626
#0d0d0d
DarkestBaseLightest

Color Harmonies

Complementary

#808080
#808080

Analogous

#808080
#808080
#808080

Triadic

#808080
#808080
#808080

Split Complementary

#808080
#808080
#808080

UI Component Examples

See how #808080 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Gray Base */
  --color-primary: #808080;
  --color-primary-rgb: 128 128 128;
  --color-primary-hsl: 0 0% 50%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #f2f2f2;
  --color-primary-100: #d9d9d9;
  --color-primary-200: #bfbfbf;
  --color-primary-300: #a6a6a6;
  --color-primary-400: #8c8c8c;
  --color-primary-500: #737373;
  --color-primary-600: #595959;
  --color-primary-700: #404040;
  --color-primary-800: #262626;
  --color-primary-900: #0d0d0d;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#808080 Hex Color | Gray sl | UI Color Scheme Generator