#808080

gray

Color info, conversions, contrast ratios, shades, and tints for #808080

Color Formats

HEX

#808080

RGB

rgb(128, 128, 128)

HSL

hsl(0, 0%, 50%)

OKLCH

oklch(60.0% 0.0000 89.9)

WCAG Contrast Ratios

On White (#fff)

3.95:1

AA Normal ✗ AA Large ✓ AAA ✗
Sample Text

On Black (#000)

5.32:1

AA Normal ✓ AA Large ✓ AAA ✗
Sample Text

Shades & Tints

Shades (Darker)

Tints (Lighter)

Related Colors

Complementary

Analogous

Closest CSS named color

gray

#808080

Look up another color

Open full Color Info tool

About #808080

#808080 is a hex color code closest to the CSS named color gray. It has a perceived brightness of 50% making it a dark color. In RGB it is rgb(128, 128, 128), in HSL it is hsl(0, 0%, 50%), and in the modern OKLCH color space it is oklch(60.0% 0.0000 89.9).

Related Free Tools

Extract colors from any website

MiroMiro's Chrome extension extracts complete color palettes from any live website - including HEX, RGB, HSL, and OKLCH values.