#8D798E

#8d798e ≈ Mountbatten Pink

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

#8d798e is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 55.29% red, 47.45% green and 55.69% blue; printed in CMYK it uses 0.7% cyan, 14.79% magenta, 0% yellow and 44.31% black. Its hue angle is 297.14°, with 8.5% saturation and 51.57% 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.26:1 (WCAG AA). The closest named color is Mountbatten Pink (#997a8d), ΔE 3.92.

Description generated from the measured properties of this color.

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

Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #857d85 ≈ 0.001% of males
Protanopia #787e8f ≈ 1.01% of males
Deuteranopia #7c808d ≈ 1.27% of males
Tritanopia #8e7b80 ≈ 0.0001% of males
Protanomaly #817c8f ≈ 1.08% of males
Deuteranomaly #837d8e ≈ 4.63% of males
Tritanomaly #8e7a86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Mountbatten Pink
#8d798e  rgb(141, 121, 142)  hsl(297, 9%, 52%)  Mountbatten Pink
#7a8e79  rgb(122, 142, 121)  hsl(117, 9%, 52%)  Xanadu
#8e8d79  rgb(142, 141, 121)  hsl(57, 9%, 52%)  Battleship Gray
#798e8d  rgb(121, 142, 141)  hsl(177, 9%, 52%)  Xanadu