#7B7871

#7b7871 ≈ Gray

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

#7b7871 is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 48.24% red, 47.06% green and 44.31% blue; printed in CMYK it uses 0% cyan, 2.44% magenta, 8.13% yellow and 51.76% black. Its hue angle is 42°, with 4.24% saturation and 46.27% 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 4.77:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 4.94.

Description generated from the measured properties of this color.

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

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #797875 ≈ 0.001% of males
Protanopia #7a7871 ≈ 1.01% of males
Deuteranopia #7b7971 ≈ 1.27% of males
Tritanopia #7d7776 ≈ 0.0001% of males
Protanomaly #7a7871 ≈ 1.08% of males
Deuteranomaly #7b7871 ≈ 4.63% of males
Tritanomaly #7c7774 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7b7871 {
  color: #7b7871;
}
Background
.bg-7b7871 {
  background-color: #7b7871;
  color: #000000;
}
Border
.border-7b7871 {
  border: 2px solid #7b7871;
}
CSS variables
:root {
  --color-primary: #7b7871;
  --color-primary-rgb: 123 120 113;
  --color-primary-hsl: 42 4% 46%;
}
Gradient
.gradient-7b7871 {
  background: linear-gradient(135deg, #7b7871, #797b71);
}
Colored shadow
.shadow-7b7871 {
  box-shadow: 0 8px 24px rgb(123 120 113 / 0.35);
}

Gray
#7b7871  rgb(123, 120, 113)  hsl(42, 4%, 46%)  Gray
#71747b  rgb(113, 116, 123)  hsl(222, 4%, 46%)  Dim Gray
#717b78  rgb(113, 123, 120)  hsl(162, 4%, 46%)  Gray
#78717b  rgb(120, 113, 123)  hsl(282, 4%, 46%)  Old Lavender