#7E878A

#7e878a ≈ Battleship Gray

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

#7e878a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 49.41% red, 52.94% green and 54.12% blue; printed in CMYK it uses 8.7% cyan, 2.17% magenta, 0% yellow and 45.88% black. Its hue angle is 195°, with 4.88% saturation and 51.76% 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.72:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #7e878a 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.236

Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #828687 ≈ 0.001% of males
Protanopia #85868a ≈ 1.01% of males
Deuteranopia #83858a ≈ 1.27% of males
Tritanopia #7b8888 ≈ 0.0001% of males
Protanomaly #82878a ≈ 1.08% of males
Deuteranomaly #81868a ≈ 4.63% of males
Tritanomaly #7c8889 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Battleship Gray
#7e878a  rgb(126, 135, 138)  hsl(195, 5%, 52%)  Battleship Gray
#8a817e  rgb(138, 129, 126)  hsl(15, 5%, 52%)  Taupe Gray
#8a7e87  rgb(138, 126, 135)  hsl(315, 5%, 52%)  Taupe Gray
#878a7e  rgb(135, 138, 126)  hsl(75, 5%, 52%)  Battleship Gray