grey

#808080

CSS color

Gray (#808080) is the pure, neutral midpoint gray CSS named color—exactly equidistant between black and white in the RGB scale. It is the most mathematically neutral tone possible, carrying no warm or cool bias. In design, pure mid-gray communicates balance, neutrality, and sophistication, serving as the universal baseline for neutral color palettes.

Color Values

HEX

#808080

RGB

128, 128, 128

HSL

0.0, 0.0%, 50.2%

HSV

0.0, 0.0%, 50.2%

CMYK

0.0%, 0.0%, 0.0%, 49.8%

OKLCH

0.5999 0.0 89.9

Properties

Warm Light Nearest: grey

Color Psychology

Medium gray represents balance, neutrality, and diplomatic composure. It is the color of concrete, steel, and overcast skies, suggesting urban modernity and industrial strength. Gray communicates professionalism and impartiality in equal measure.

Design Usage

Medium gray is essential for body text, icons, and secondary labels in user interfaces. It provides the typographic backbone of design systems, separating primary from secondary information. Ensure proper contrast ratios since many popular mid-gray values fall below WCAG AA for text on white backgrounds.

Color Harmonies

Color Blindness Simulation

CSS Usage

background-color: #808080;
color: #808080;
border-color: #808080;
Nearest Tailwind: Neutral 500 #737373

Tailwind Shades

Contrast Checker

Text on white

3.95:1

AA Fail AAA Fail

Text on black

5.32:1

AA Pass AAA Fail

Compare With

Brands Using This Color

Related Articles

Frequently Asked Questions

What are the RGB, HSL, and CMYK values of #808080?

RGB(128, 128, 128) · HSL(0.0, 0.0%, 50.2%) · CMYK(0.0%, 0.0%, 0.0%, 49.8%)

Does #808080 meet WCAG contrast on white?

3.95:1 — WCAG AA Fail, AAA Fail for normal text.

What text color is readable on #808080?

Use 000000 text on a #808080 background; contrast on black is 5.32:1.