⤺ color picker
0
Reddit

#a172a1 Color Hex

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


The hex color code #a172a1 is a shade of magenta. In a RGB color space it is composed of 63.14% red, 44.71% green and 63.14% blue. In HSL notation it has 300° hue, 20% saturation and 53.9% lightness. The process color (CMYK) is combination of 0% cyan, 29.19% magenta, 0% yellow and 36.86% key (black). The closest short hexadecimal code of #a172a1 is #a7a.

Color information

  • #a172a1 is a shade of magenta.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 29.19%
    • Yellow: 0%
    • Key color - black: 36.86%
  • In the HSL model coordinates are:
    • Hue: 300° degrees
    • Saturation: 20%
    • Lightness: 53.9%
  • The values in the RGB color space are:
    • Red: 161 (63.14%)
    • Green: 114 (44.71%)
    • Blue: 161 (63.14%)

Conversions

Hex:
#a172a1
CMYK:
C: 0%, M: 29.19%, Y: 0%, K: 36.86%
RGB:
R: 161, G: 114, B: 161
HSL:
H: 300°, S: 20%, L: 53.9%

Color harmonies

#a172a1 color HTML and CSS codes

Example CSS code:

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

#a172a1 text/font color

How to set font color?

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

Font color is #a172a1.

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

#a172a1 background color

How to set background color?

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

Background color is #a172a1.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage