#8a798f ≈ Mountbatten Pink
#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.
| 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 luminance | 0.2106 |
Shades
#8a798f mixed progressively with black.
Tints
#8a798f mixed progressively with white.
Tones
#8a798f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a798f {
color: #8a798f;
}
.bg-8a798f {
background-color: #8a798f;
color: #000000;
}
.border-8a798f {
border: 2px solid #8a798f;
}
:root {
--color-primary: #8a798f;
--color-primary-rgb: 138 121 143;
--color-primary-hsl: 286 9% 52%;
}
.gradient-8a798f {
background: linear-gradient(135deg, #8a798f, #8f7989);
}
.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