⤺ color picker
0
Reddit

#5a1931 Color Hex

Hex color #5a1931, RGB(90, 25, 49) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #5a1931 is a shade of red-magenta. In a RGB color space it is composed of 35.29% red, 9.8% green and 19.22% blue. In HSL notation it has 337.8° hue, 56.5% saturation and 22.5% lightness. The process color (CMYK) is combination of 0% cyan, 72.22% magenta, 45.56% yellow and 64.71% key (black). The closest short hexadecimal code of #5a1931 is #513.

Color information

  • #5a1931 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 72.22%
    • Yellow: 45.56%
    • Key color - black: 64.71%
  • In the HSL model coordinates are:
    • Hue: 337.8° degrees
    • Saturation: 56.5%
    • Lightness: 22.5%
  • The values in the RGB color space are:
    • Red: 90 (35.29%)
    • Green: 25 (9.8%)
    • Blue: 49 (19.22%)

Conversions

Hex:
#5a1931
CMYK:
C: 0%, M: 72.22%, Y: 45.56%, K: 64.71%
RGB:
R: 90, G: 25, B: 49
HSL:
H: 337.8°, S: 56.5%, L: 22.5%

Color harmonies

#5a1931 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5a1931; }
.setBackgroundColor { background-color: #5a1931; }

#5a1931 text/font color

How to set font color?

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

Font color is #5a1931.

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

#5a1931 background color

How to set background color?

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

Background color is #5a1931.

Compromise in colors is grey.
- Edi Rama