#8C8A87 color

#8C8A87 rgb(140, 138, 135)
Shades of gray

The hex color #8C8A87 is a gray.

In the RGB color model it is made of 54.9% red, 54.1% green and 52.9% blue (140, 138, 135).

Its hue angle is 36°, with 2% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 4% yellow and 45% black.

The closest named color is Pedigrey (#8F8E8C), a difference of 1.5 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 6.1:1).

#8C8A87 color codes

HEX#8C8A87
RGBrgb(140, 138, 135)
RGB percentrgb(54.9%, 54.1%, 52.9%)
HSLhsl(36, 2%, 54%)
HSV / HSBhsv(36, 4%, 55%)
CMYKcmyk(0%, 1%, 4%, 45%)
CIE LABlab(57.56, 0.16, 1.86)
CIE LCHlch(57.56, 1.87, 84.98)
CIE XYZxyz(24.276, 25.502, 26.56)
Decimal9210503
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8C8A87, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #8C8A87RatioAAAAAAA large
Sample text6.1:1PassFailPass
Sample text3.44:1FailFailPass
#8C8A87 as text onRatioAAAAAAA large
Sample text3.44:1FailFailPass
Sample text6.1:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #8C8A87 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8c8a87; }
.text { color: #8c8a87; }
.border { border: 2px solid #8c8a87; }
.transparent { background-color: rgb(140 138 135 / 50%); }
.gradient { background: linear-gradient(to right, #8c8a87, #8c8c87); }
Background
Text color
Border

Similar colors

Questions

What color is #8C8A87?
#8C8A87 is a gray, closest to the named color Pedigrey. It belongs to the gray family of colors.
What is the RGB value of #8C8A87?
The RGB value is 140, 138, 135: 140 red, 138 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #8C8A87?
The complementary color is #87898C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8C8A87?
Black text. Black text has a contrast ratio of 6.1:1 and white text 3.44:1. WCAG asks for at least 4.5:1 for normal text.