Gray

#8a7f7f

Hex, rgb, cmyk and Pantone values for gray, with shades, tints, matching colors and free print quality patterns.

Gray carries almost no chroma, so it works as a neutral. Mid greys like this are the backbone of clean, editorial layouts. It works under any accent color, holding a scheme together without competing.

Gray color values

Every conversion for #8a7f7f, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#8a7f7f
RGB138, 127, 127
HSL0, 4%, 52%
HSV0, 8%, 54%
CMYK0%, 8%, 8%, 46%
Lab54.15, 4.17, 1.5
XYZ21.9, 22.11, 23.19
Decimal9076607
Web safe#996666
Pantone424 C
Pantone424 CHex#8a7f7fRgb138 127 127Cmyk0 8 8 46Lab54 4 2Darker#403a3aDeep#655c5cLighter#aca5a5

Shades of gray

Tints of gray

Colors that go with gray

Gray in print

The cmyk build is well inside gamut, so what you see on screen is close to what prints. The cmyk build is 0, 8, 8, 46.

The same color needs a different cmyk build depending on the paper. Here is #8a7f7f on both.

Coated stockgloss or silk, C
0 8 8 46
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 11 11 52
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color converts to cmyk comfortably and should hold on press.

See how it converts in the rgb to cmyk converter, or readrgb vs cmyk for print andwhat the k in cmyk means.

Gray in css

Copy #8a7f7f straight into your stylesheet.

.background { background-color: #8a7f7f; }
.text { color: #8a7f7f; }
.border { border: 2px solid #8a7f7f; }

How gray looks on light and dark

Gray and accessibility

Contrast ratios for #8a7f7f against black and white text, measured to the WCAG standard.

Textwhite text on this color
3.87:1
AAfail · AA largepass · AAAfail
Textblack text on this color
5.42:1
AApass · AA largepass · AAAfail

Use black text on this color for readable body copy. To test #8a7f7f against any other color, not just black and white, run the pair through ourcontrast checker for a live WCAG reading.

Gray on a business card, sticker and pattern

A quick look at how #8a7f7f sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around gray? Pull matching colors from any photo with thecolor palette generator, or check a design for print with thergb to cmyk converter.

Turn gray into a seamless pattern

Four patterns built from #8a7f7f and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from gray, free and print ready.

Open in pattern maker

How we calculate these values

Here is how the numbers for #8a7f7f are worked out. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. The coated and uncoated cmyk builds differ because uncoated stock absorbs more ink and gains dot, so the same color needs a heavier, slightly duller build on press. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.