Gray

#7c7c8a

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

This is Gray, a mid neutral that behaves like a grey. 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 #7c7c8a, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#7c7c8a
RGB124, 124, 138
HSL240, 6%, 51%
HSV240, 10%, 54%
CMYK10%, 10%, 0%, 46%
Lab52.44, 2.94, -7.58
XYZ20.11, 20.54, 26.95
Decimal8158346
Web safe#666699
Pantone5285 C
Pantone5285 CHex#7c7c8aRgb124 124 138Cmyk10 10 0 46Lab52 3 -8Darker#38383fDeep#5a5a65Lighter#a2a2ab

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 10, 10, 0, 46.

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

Coated stockgloss or silk, C
10 10 0 46
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
13 13 4 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 #7c7c8a straight into your stylesheet.

.background { background-color: #7c7c8a; }
.text { color: #7c7c8a; }
.border { border: 2px solid #7c7c8a; }

How gray looks on light and dark

Gray and accessibility

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

Textwhite text on this color
4.11:1
AAfail · AA largepass · AAAfail
Textblack text on this color
5.11:1
AApass · AA largepass · AAAfail

Use black text on this color for readable body copy. To test #7c7c8a 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 #7c7c8a 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 #7c7c8a 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

The figures for #7c7c8a come from standard color math, shown so you can check them. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. The uncoated cmyk build carries more ink than the coated one, which is what a printer would compensate for when the same color runs on a rougher stock. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.