Representative grays
A light, mid and dark sample from the gray family
Gray 100 · Light
#F3F4F6 rgb 243, 244, 246
HSL 220°, 14%, 96%
Gray 500 · Mid
#6B7280 rgb 107, 114, 128
HSL 220°, 9%, 46%
Gray 800 · Dark
#1F2937 rgb 31, 41, 55
HSL 215°, 28%, 17%

Gray color reference

A complete 50–950 gray scale with hex, RGB and HSL values. This is the scale used by most modern design systems (Tailwind-style).

NameHEXRGBHSLContrast on white
Gray 50#F9FAFB249, 250, 251210°, 20%, 98%1.03:1
Gray 100#F3F4F6243, 244, 246220°, 14%, 96%1.10:1
Gray 200#E5E7EB229, 231, 235220°, 13%, 91%1.25:1
Gray 300#D1D5DB209, 213, 219216°, 12%, 84%1.55:1
Gray 400#9CA3AF156, 163, 175218°, 11%, 65%2.9:1
Gray 500#6B7280107, 114, 128220°, 9%, 46%4.6:1
Gray 600#4B556375, 85, 99215°, 14%, 34%7.5:1
Gray 700#37415155, 65, 81215°, 19%, 27%10.3:1
Gray 800#1F293731, 41, 55215°, 28%, 17%14.4:1
Gray 900#11182717, 24, 39221°, 39%, 11%18.8:1
Gray 950#0307123, 7, 18224°, 71%, 4%20.4:1
How to read this table
Grays 50–300 are surface and border colors. Grays 400–500 are secondary text. Grays 600–700 are primary body text. Grays 800–950 are headings and high-contrast text. Any value below 4.5:1 fails AA for normal text.

Named grays

Common named grays from CSS and design practice.

Gray (CSS) #808080
Silver #C0C0C0
Dark gray #A9A9A9
Dim gray #696969
Dark slate gray #2F4F4F
Slate gray #708090
Light slate gray #778899
Gainsboro #DCDCDC
Light gray #D3D3D3
White smoke #F5F5F5

Warm, cool and neutral grays

Modern design systems tint their grays slightly to match the brand. The three most common families are slate (cool), zinc (neutral), and stone (warm).

Cool (slate)

Slight blue tint. Reads technological and clean.

#F1F5F9
#CBD5E1
#64748B
#334155
#0F172A

Neutral (zinc)

Pure equal-channel gray. Balanced and universal.

#F4F4F5
#D4D4D8
#71717A
#3F3F46
#18181B

Warm (stone)

Slight brown/yellow tint. Reads organic and printed.

#F5F5F4
#D6D3D1
#78716C
#44403C
#1C1917

Gray in design and accessibility

Gray is the most-used color in interface design. It carries text, borders, dividers, backgrounds, disabled states and icons. A well-built gray scale is the backbone of any design system — and a poorly-built one is the source of most accessibility failures on the web.

Common uses in interfaces

  • Body text — Gray 700 (#374151) or darker is the standard body-text color.
  • Borders and dividers — Grays 200–300 at low opacity keep interfaces readable.
  • Surfaces — Grays 50–100 form neutral backgrounds that let color pop.
  • Secondary and disabled text — Grays 400–500 for hints and disabled controls.

Accessibility notes

Gray is where most contrast failures happen. On white: #4B5563 reaches about 7.5:1 (AAA), #6B7280 reaches about 4.6:1 (AA), and #9CA3AF reaches only about 2.9:1 (fails AA for text — use only for icons, dividers or large secondary labels). Never use very light grays for body copy; they are the most common accessibility failure on modern websites.

Accessibility tip
If your design has “subtle gray text on a light background”, it is almost certainly failing WCAG. Test every gray you ship.

Frequently asked questions

What is the standard gray hex code?

CSS gray is #808080 — RGB (128, 128, 128), the exact midpoint between black and white. Silver is #C0C0C0, dim gray is #696969. Most modern design systems use an 11-step gray scale from 50 (near-white) to 950 (near-black).

What are the warm, cool and neutral grays?

Pure gray has equal R, G and B values. Cool grays lean slightly blue (blue channel higher), warm grays lean slightly brown or yellow (red channel higher). Modern design systems often use tinted grays — slate (cool), zinc (neutral), stone (warm) — to add subtle character and match the brand hue.

How many grays should a design system have?

Most systems use between 9 and 12 gray steps. Tailwind provides 11 (50–950). The minimum useful set is 6: near-white for surfaces, light gray for borders, mid gray for secondary text, mid-dark gray for primary text, dark gray for headings, and near-black for high-contrast text.

Is gray accessible for text?

Gray is the most-used text color in interfaces and also the source of most accessibility issues. On white: #4B5563 reaches about 7.5:1 (AAA), #6B7280 reaches about 4.6:1 (AA), and #9CA3AF reaches only about 2.9:1 (fails AA). Never use very light grays for body copy.

How do I generate a full gray scale?

Use our shades generator with any mid-gray as the base. Or copy the ready-made scale from this page directly into your tokens.

Related colors

Related tools