#8A877C

#8a877c ≈ Battleship Gray

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

#8a877c is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 54.12% red, 52.94% green and 48.63% blue; printed in CMYK it uses 0% cyan, 2.17% magenta, 10.14% yellow and 45.88% black. Its hue angle is 47.14°, with 5.65% saturation and 51.37% 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.84:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 4.66.

Description generated from the measured properties of this color.

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

Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #888783 ≈ 0.001% of males
Protanopia #8a867b ≈ 1.01% of males
Deuteranopia #8a877c ≈ 1.27% of males
Tritanopia #8d8584 ≈ 0.0001% of males
Protanomaly #8a877c ≈ 1.08% of males
Deuteranomaly #8a877c ≈ 4.63% of males
Tritanomaly #8c8681 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a877c {
  color: #8a877c;
}
Background
.bg-8a877c {
  background-color: #8a877c;
  color: #000000;
}
Border
.border-8a877c {
  border: 2px solid #8a877c;
}
CSS variables
:root {
  --color-primary: #8a877c;
  --color-primary-rgb: 138 135 124;
  --color-primary-hsl: 47 6% 51%;
}
Gradient
.gradient-8a877c {
  background: linear-gradient(135deg, #8a877c, #868a7c);
}
Colored shadow
.shadow-8a877c {
  box-shadow: 0 8px 24px rgb(138 135 124 / 0.35);
}

Battleship Gray
#8a877c  rgb(138, 135, 124)  hsl(47, 6%, 51%)  Battleship Gray
#7c7f8a  rgb(124, 127, 138)  hsl(227, 6%, 51%)  Slate Gray
#7c8a87  rgb(124, 138, 135)  hsl(167, 6%, 51%)  Xanadu
#877c8a  rgb(135, 124, 138)  hsl(287, 6%, 51%)  Taupe Gray