Gray
Hex #808080 · RGB(128, 128, 128) · HSL(0, 0%, 50%)
What is gray?
Gray (spelled grey in British English) is a neutral color with the standard hex code #808080, RGB rgb(128, 128, 128) and HSL hsl(0, 0%, 50%). Gray is a mix of white and black at equal luminance — it has no hue and no saturation. It's the foundation of professional UI design, editorial layouts and modern minimalism.
Gray RGB and hex codes
| Color | HEX | RGB |
|---|---|---|
| White smoke | #F5F5F5 | rgb(245, 245, 245) |
| Light gray | #D3D3D3 | rgb(211, 211, 211) |
| Silver | #C0C0C0 | rgb(192, 192, 192) |
| Dim gray | #696969 | rgb(105, 105, 105) |
| Dark gray | #A9A9A9 | rgb(169, 169, 169) |
| Slate gray | #708090 | rgb(112, 128, 144) |
| Charcoal | #36454F | rgb(54, 69, 79) |
Gray color psychology and meaning
Gray communicates neutrality, balance and sophistication. It's the color of overcast skies and stone — it feels grounded and unobtrusive. In design, gray is the ultimate supporting color: it lets other colors stand out while providing structure. Overuse of gray can feel corporate or depressing; pairing it with warm accent colors softens the effect.
Gray in web design
Gray dominates professional UI. Most SaaS dashboards use gray for backgrounds, secondary text and dividers. Recommended gray scale for UI: #F9FAFB (100), #F3F4F6 (100), #E5E7EB (200), #D1D5DB (300), #9CA3AF (400), #6B7280 (500), #4B5563 (600), #374151 (700), #1F2937 (800), #111827 (900). This is the Tailwind default and it works.
Gray vs grey
Both spellings are correct — "gray" is standard in American English, "grey" in British English. In CSS and web, "gray" and "grey" are both accepted as color keywords, but gray is more common in code.
Shades of gray
Related gray colors
Frequently asked
What is the hex code for gray?
Standard gray is #808080.
What is gray in RGB?
rgb(128, 128, 128).
Is it gray or grey?
Both are correct. Gray in American English, grey in British English.
What is the RGB for light gray?
rgb(211, 211, 211) — hex #D3D3D3.