#8C878E color

#8C878E rgb(140, 135, 142)
Shades of gray

The hex color #8C878E is a gray.

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

Its hue angle is 283°, with 3% saturation and 54% lightness. For print, the CMYK equivalent is 1% cyan, 5% magenta, 0% yellow and 44% black.

The closest named color is Gull (#918C8F), a difference of 2.7 ΔE, a small difference.

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

#8C878E color codes

HEX#8C878E
RGBrgb(140, 135, 142)
RGB percentrgb(54.9%, 52.9%, 55.7%)
HSLhsl(283, 3%, 54%)
HSV / HSBhsv(283, 5%, 56%)
CMYKcmyk(1%, 5%, 0%, 44%)
CIE LABlab(56.94, 3.23, -3.08)
CIE LCHlch(56.94, 4.46, 316.38)
CIE XYZxyz(24.361, 24.856, 29.1)
Decimal9209742
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8C878E, 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 #8C878ERatioAAAAAAA large
Sample text5.97:1PassFailPass
Sample text3.52:1FailFailPass
#8C878E as text onRatioAAAAAAA large
Sample text3.52:1FailFailPass
Sample text5.97: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 #8C878E looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Gray.

Questions

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