#7C878D

#7c878d ≈ Light Slate Gray

  • gray
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#7c878d is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 48.63% red, 52.94% green and 55.29% blue; printed in CMYK it uses 12.06% cyan, 4.26% magenta, 0% yellow and 44.71% black. Its hue angle is 201.18°, with 6.94% saturation and 51.96% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 5.71:1 (WCAG AA). The closest named color is Light Slate Gray (#778899), ΔE 4.93.

Description generated from the measured properties of this color.

Conversions of #7c878d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#669999
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2354

Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #828688 ≈ 0.001% of males
Protanopia #84868d ≈ 1.01% of males
Deuteranopia #82848d ≈ 1.27% of males
Tritanopia #788989 ≈ 0.0001% of males
Protanomaly #81878d ≈ 1.08% of males
Deuteranomaly #7f858d ≈ 4.63% of males
Tritanomaly #79888b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c878d {
  color: #7c878d;
}
Background
.bg-7c878d {
  background-color: #7c878d;
  color: #000000;
}
Border
.border-7c878d {
  border: 2px solid #7c878d;
}
CSS variables
:root {
  --color-primary: #7c878d;
  --color-primary-rgb: 124 135 141;
  --color-primary-hsl: 201 7% 52%;
}
Gradient
.gradient-7c878d {
  background: linear-gradient(135deg, #7c878d, #7c7e8d);
}
Colored shadow
.shadow-7c878d {
  box-shadow: 0 8px 24px rgb(124 135 141 / 0.35);
}

Light Slate Gray
#7c878d  rgb(124, 135, 141)  hsl(201, 7%, 52%)  Light Slate Gray
#8d827c  rgb(141, 130, 124)  hsl(21, 7%, 52%)  Taupe Gray
#8d7c87  rgb(141, 124, 135)  hsl(321, 7%, 52%)  Mountbatten Pink
#878d7c  rgb(135, 141, 124)  hsl(81, 7%, 52%)  Xanadu