⤺ color picker

#ffa0ff Color Hex

Hex color #ffa0ff, RGB(255, 160, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #ffa0ff is a shade of magenta. In a RGB color space it is composed of 100% red, 62.75% green and 100% blue. In HSL notation it has 300° hue, 100% saturation and 81.4% lightness. The process color (CMYK) is combination of 0% cyan, 37.25% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #ffa0ff is #faf.

Color information

  • #ffa0ff is a shade of magenta.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 37.25%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 300° degrees
    • Saturation: 100%
    • Lightness: 81.4%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 160 (62.75%)
    • Blue: 255 (100%)


C: 0%, M: 37.25%, Y: 0%, K: 0%
R: 255, G: 160, B: 255
H: 300°, S: 100%, L: 81.4%

Color harmonies

#ffa0ff color HTML and CSS codes

Example CSS code:

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

#ffa0ff text/font color

How to set font color?

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

Font color is #ffa0ff.

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

#ffa0ff background color

How to set background color?

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

Background color is #ffa0ff.

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