Gray

Online color picker to view shades, tints, color codes, and complementary colors

Gray color codes graphic

In most cultures, gray is linked to old age and elderliness, particularly due to the association with gray hair; it symbolizes the dignity and wisdom that comes with age. The hex code for gray is #808080.

Questions about Gray

What is the hex code for Gray?
Gray is #808080. In RGB that is rgb(128, 128, 128), in HSL hsl(0, 0%, 50%) and in CMYK 0%, 0%, 0%, 50%. Browse more shades of gray with names and hex codes.
Is Gray readable on white or black?
Gray has a 3.94:1 contrast ratio on white and 5.31:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.