#524758 - Midnight Affair
Hex color #524758 is called Midnight Affair. It consists of 32% red, 28% green, and 35% blue in RGB color space. In CMYK it is 7% cyan, 19% magenta, 0% yellow, and 65% black. In HSL it is 279° hue, 11% saturation, and 31% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Midnight Affair | — |
| HEX | #524758 | #524758 |
| HEXA | #524758FF | #524758FF |
| RGB | 82, 71, 88 | rgb(82, 71, 88) |
| RGBA | 82, 71, 88, 1 | rgba(82, 71, 88, 1) |
| HSL | 279%, 11%, 31% | hsl(279%, 11%, 31%) |
| CMYK | 7%, 19%, 0%, 65% | cmyk(7%, 19%, 0%, 65%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #524758 is #ADB8A7.
Preview on black and white
As #524758 has 31% lightness, this color is dark, so it has more contrast with white.
#524758 On White Background
#524758
#524758
Text Color
This is how text looks with this color.
#524758 On Black Background
#524758
#524758
Text Color
This is how text looks with this color.
Transform color
82, 71, 88rgb(82, 71, 88)