⤺ color picker
0
Reddit

#7e1f52 Color Hex

Hex color #7e1f52, RGB(126, 31, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #7e1f52 is a shade of red-magenta. In a RGB color space it is composed of 49.41% red, 12.16% green and 32.16% blue. In HSL notation it has 327.8° hue, 60.5% saturation and 30.8% lightness. The process color (CMYK) is combination of 0% cyan, 75.40% magenta, 34.92% yellow and 50.59% key (black). The closest short hexadecimal code of #7e1f52 is #715.

Color information

  • #7e1f52 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 75.40%
    • Yellow: 34.92%
    • Key color - black: 50.59%
  • In the HSL model coordinates are:
    • Hue: 327.8° degrees
    • Saturation: 60.5%
    • Lightness: 30.8%
  • The values in the RGB color space are:
    • Red: 126 (49.41%)
    • Green: 31 (12.16%)
    • Blue: 82 (32.16%)

Conversions

Hex:
#7e1f52
CMYK:
C: 0%, M: 75.40%, Y: 34.92%, K: 50.59%
RGB:
R: 126, G: 31, B: 82
HSL:
H: 327.8°, S: 60.5%, L: 30.8%

Color harmonies

#7e1f52 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #7e1f52; }
.setBackgroundColor { background-color: #7e1f52; }

#7e1f52 text/font color

How to set font color?

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

Font color is #7e1f52.

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

#7e1f52 background color

How to set background color?

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

Background color is #7e1f52.

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