#81878A

#81878a ≈ Battleship Gray

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

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

Description generated from the measured properties of this color.

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

Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #848688 ≈ 0.001% of males
Protanopia #85878a ≈ 1.01% of males
Deuteranopia #84868a ≈ 1.27% of males
Tritanopia #7f8888 ≈ 0.0001% of males
Protanomaly #84878a ≈ 1.08% of males
Deuteranomaly #83868a ≈ 4.63% of males
Tritanomaly #808889 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-81878a {
  color: #81878a;
}
Background
.bg-81878a {
  background-color: #81878a;
  color: #000000;
}
Border
.border-81878a {
  border: 2px solid #81878a;
}
CSS variables
:root {
  --color-primary: #81878a;
  --color-primary-rgb: 129 135 138;
  --color-primary-hsl: 200 4% 52%;
}
Gradient
.gradient-81878a {
  background: linear-gradient(135deg, #81878a, #81828a);
}
Colored shadow
.shadow-81878a {
  box-shadow: 0 8px 24px rgb(129 135 138 / 0.35);
}

Battleship Gray
#81878a  rgb(129, 135, 138)  hsl(200, 4%, 52%)  Battleship Gray
#8a8481  rgb(138, 132, 129)  hsl(20, 4%, 52%)  Battleship Gray
#8a8187  rgb(138, 129, 135)  hsl(320, 4%, 52%)  Taupe Gray
#878a81  rgb(135, 138, 129)  hsl(80, 4%, 52%)  Battleship Gray