⤺ color picker

#a17f9c Color Hex

Hex color #a17f9c, RGB(161, 127, 156) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #a17f9c is a shade of magenta. In a RGB color space it is composed of 63.14% red, 49.8% green and 61.18% blue. In HSL notation it has 308.8° hue, 15.3% saturation and 56.5% lightness. The process color (CMYK) is combination of 0% cyan, 21.12% magenta, 3.11% yellow and 36.86% key (black). The closest short hexadecimal code of #a17f9c is #a79.

Color information

  • #a17f9c is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 21.12%
    • Yellow: 3.11%
    • Key color - black: 36.86%
  • In the HSL model coordinates are:
    • Hue: 308.8° degrees
    • Saturation: 15.3%
    • Lightness: 56.5%
  • The values in the RGB color space are:
    • Red: 161 (63.14%)
    • Green: 127 (49.8%)
    • Blue: 156 (61.18%)


C: 0%, M: 21.12%, Y: 3.11%, K: 36.86%
R: 161, G: 127, B: 156
H: 308.8°, S: 15.3%, L: 56.5%

Color harmonies

#a17f9c color HTML and CSS codes

Example CSS code:

.setFontColor { color: #a17f9c; }
.setBackgroundColor { background-color: #a17f9c; }

#a17f9c text/font color

How to set font color?

<p style="color:#a17f9c">Font color is #a17f9c.</p>

Font color is #a17f9c.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#a17f9c background color

How to set background color?

<div style="background-color:#a17f9c">Background color is #a17f9c.</div>

Background color is #a17f9c.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant