⤺ color picker
0
Reddit

#7f2242 Color Hex

Hex color #7f2242, RGB(127, 34, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #7f2242 is a shade of red-magenta. In a RGB color space it is composed of 49.8% red, 13.33% green and 25.88% blue. In HSL notation it has 339.4° hue, 57.8% saturation and 31.6% lightness. The process color (CMYK) is combination of 0% cyan, 73.23% magenta, 48.03% yellow and 50.20% key (black). The closest short hexadecimal code of #7f2242 is #724.

Color information

  • #7f2242 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 73.23%
    • Yellow: 48.03%
    • Key color - black: 50.20%
  • In the HSL model coordinates are:
    • Hue: 339.4° degrees
    • Saturation: 57.8%
    • Lightness: 31.6%
  • The values in the RGB color space are:
    • Red: 127 (49.8%)
    • Green: 34 (13.33%)
    • Blue: 66 (25.88%)

Conversions

Hex:
#7f2242
CMYK:
C: 0%, M: 73.23%, Y: 48.03%, K: 50.20%
RGB:
R: 127, G: 34, B: 66
HSL:
H: 339.4°, S: 57.8%, L: 31.6%

Color harmonies

#7f2242 color HTML and CSS codes

Example CSS code:

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

#7f2242 text/font color

How to set font color?

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

Font color is #7f2242.

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

#7f2242 background color

How to set background color?

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

Background color is #7f2242.

Compromise in colors is grey.
- Edi Rama