Home /Colors /Gray
Gray#808080

Gray color code is #808080. Use this page to get all code formats, explore shades and tints, and find colors that work with gray.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore Gray

Gray Accessibility & WCAG Contrast

Relative luminance of Gray is 0.2159. Its WCAG contrast ratio is 3.95:1 against white and 5.32:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
Gray on white3.95:1AA Large
The quick brown fox
Gray on black5.32:1AA
The quick brown fox
White on Gray3.95:1AA Large
The quick brown fox
Black on Gray5.32:1AA

Gray — Frequently Asked Questions

What is the hex code for Gray?+
The hex code for Gray is #808080. In RGB it's rgb(128, 128, 128), and in HSL it's hsl(0, 0%, 50%).
What is the RGB value of Gray?+
Gray in RGB is (128, 128, 128). Written in CSS: rgb(128, 128, 128).
What is the CMYK value of Gray?+
Gray converts to CMYK(0%, 0%, 0%, 50%) for print. Hex equivalent is #808080.
Is gray a warm or cool color?+
Gray (#808080) is a neutral gray — its hue sits at 0° on the color wheel, placing it in the neutral part of the spectrum.
What color family does gray belong to?+
Gray belongs to the gray family. Its HSL is 0°, 0%, 50% — a neutral tone within the broader gray group.
Is gray accessible for body text on a white background?+
Gray on white reaches a WCAG contrast ratio of 3.95:1 — passes AA only for large text (18pt+). Use a darker shade for body copy.
What is the closest Pantone match for gray?+
The nearest Pantone match for Gray (#808080) is 8013 C Metallic Titanium, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use Gray in design

Practical guidance for using gray (#808080) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Gray (#808080) works well as a background color in dark UIs or as a button fill paired with white text — at 5.3:1 against black it's AA-accessible for body text reversed onto it. Don't use it for text on a white background; 4.0:1 contrast won't pass AA.

Branding & identity

As a brand color, Gray (#808080) reads as considered and grown-up and versatile across product tiers. It fits naturally into professional services, corporate identity, B2B SaaS. Pair it with a single bold accent so it doesn't read as too quiet. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

Gray is a wardrobe-staple neutral. It pairs with everything, transitions across seasons, and is a safe choice for tailored pieces (suits, coats, trousers, dresses) where longevity matters more than seasonal trend. Layer it with one bolder accent (a vivid scarf, statement bag) to keep the look from reading as flat.

Interior design

Gray works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.

Brands that use Gray

Major brands whose official palette contains a color within ~30 RGB units of gray (#808080). Click through for the full brand color guide.

Apple#86868B · Apple Silver