#8A798F

#8a798f ≈ Mountbatten Pink

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

#8a798f 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, 47.45% green and 56.08% blue; printed in CMYK it uses 3.5% cyan, 15.38% magenta, 0% yellow and 43.92% black. Its hue angle is 286.36°, with 8.94% 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.21:1 (WCAG AA). The closest named color is Mountbatten Pink (#997a8d), ΔE 5.07.

Description generated from the measured properties of this color.

Conversions of #8a798f 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.2106

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #837c85 ≈ 0.001% of males
Protanopia #777d90 ≈ 1.01% of males
Deuteranopia #7a7f8e ≈ 1.27% of males
Tritanopia #8a7b80 ≈ 0.0001% of males
Protanomaly #7f7c90 ≈ 1.08% of males
Deuteranomaly #817d8f ≈ 4.63% of males
Tritanomaly #8a7a86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Mountbatten Pink
#8a798f  rgb(138, 121, 143)  hsl(286, 9%, 52%)  Mountbatten Pink
#7e8f79  rgb(126, 143, 121)  hsl(106, 9%, 52%)  Xanadu
#8f8a79  rgb(143, 138, 121)  hsl(46, 9%, 52%)  Battleship Gray
#798f8a  rgb(121, 143, 138)  hsl(166, 9%, 52%)  Xanadu