⤺ color picker

#f521d6 Color Hex

Hex color #f521d6, RGB(245, 33, 214) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #f521d6 is a shade of magenta. In a RGB color space it is composed of 96.08% red, 12.94% green and 83.92% blue. In HSL notation it has 308.8° hue, 91.4% saturation and 54.5% lightness. The process color (CMYK) is combination of 0% cyan, 86.53% magenta, 12.65% yellow and 3.92% key (black). The closest short hexadecimal code of #f521d6 is #f2d.

Color information

  • #f521d6 is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 86.53%
    • Yellow: 12.65%
    • Key color - black: 3.92%
  • In the HSL model coordinates are:
    • Hue: 308.8° degrees
    • Saturation: 91.4%
    • Lightness: 54.5%
  • The values in the RGB color space are:
    • Red: 245 (96.08%)
    • Green: 33 (12.94%)
    • Blue: 214 (83.92%)


C: 0%, M: 86.53%, Y: 12.65%, K: 3.92%
R: 245, G: 33, B: 214
H: 308.8°, S: 91.4%, L: 54.5%

Color harmonies

#f521d6 color HTML and CSS codes

Example CSS code:

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

#f521d6 text/font color

How to set font color?

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

Font color is #f521d6.

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

#f521d6 background color

How to set background color?

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

Background color is #f521d6.

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