Magenta : The hexadecimal color #d40f7f

The hexadecimal color #d40f7f is a color red whose writing is rgb(212, 15, 127) either 83% of red, 6% of green, 50% of blue; the HSL value is hsl(231, 221%, 114%) either a shade of 231°, a saturation of 221% and a brightness of 114%; the CMYK value is cmyk(0, 93, 40, 17) either 0% of cyan, 93% of magenta, 40% of yellow and 17% of black.

The color combinaison (or color scheme) of the color magenta

The gradient colors and complementary colors below allow you to find colors near d40f7f for a good harmony of your web design and your artwork.

#d40f7f : Using the html color in a CSS style

The CSS notation for use that color (d40f7f) as text color is color:#d40f7f;
This is an text example writing in hex color #d40f7f.

The CSS notation for use that color (d40f7f) as background color is background-color:#d40f7f;
This is a box with a background color in hex #d40f7f

The CSS notation for use that color (d40f7f) as border color is border-color:#d40f7f;
This is a box with a border color in hex #d40f7f

The CSS notation for use that color (d40f7f) as shadow color is box-shadow:0 0 20px #d40f7f;
This is a box with a shadow color in hex #d40f7f

Converting the hex color d40f7f in RGB, HSL and CMYK

  • Color code HEX : #d40f7f
  • Color code RGB : rgb(212, 15, 127)
  • Color code HSL : hsl(231, 221%, 114%)
  • Color code CMYK : cmyk(0, 93, 40, 17)
  • Color code BIN : 11010100 1111 1111111

What is a color HEX ?

The HEX code consists of 3 groups of 2 digits from 00 to FF, representing the primary colors: red, green, blue.
The maximum number of colors in hexadecimal format is 256 x 256 x 256 = 16,777,216

What is a color RGB ?

RGB code consists of 3 groups ranging from 0 to 255 and representing the primary colors: red, green, blue.
The theoretical maximum number is also ~ 16M colors.


Hex color #d40f7f - magenta

What is a color HSL ?

HSL code consists of 3 groups: a first in degree determining the color hue (between 0° and 360°) followed by 2 digits ranging from 0 to 255 and expressed as a percentage, respectively, determine the saturation and brightness of color.

What is a color CMYK ?

The CMYK code consists of four groups of digits ranging from 0 to 100 and represents the percentage of cyan, magenta, yellow and black present in the main color.