⤺ color picker
0
Reddit

#a21f1f Color Hex

Hex color #a21f1f, RGB(162, 31, 31) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #a21f1f is a shade of red. In a RGB color space it is composed of 63.53% red, 12.16% green and 12.16% blue. In HSL notation it has 0° hue, 67.9% saturation and 37.8% lightness. The process color (CMYK) is combination of 0% cyan, 80.86% magenta, 80.86% yellow and 36.47% key (black). The closest short hexadecimal code of #a21f1f is #a11.

Color information

  • #a21f1f is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 80.86%
    • Yellow: 80.86%
    • Key color - black: 36.47%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 67.9%
    • Lightness: 37.8%
  • The values in the RGB color space are:
    • Red: 162 (63.53%)
    • Green: 31 (12.16%)
    • Blue: 31 (12.16%)

Conversions

Hex:
#a21f1f
CMYK:
C: 0%, M: 80.86%, Y: 80.86%, K: 36.47%
RGB:
R: 162, G: 31, B: 31
HSL:
H: , S: 67.9%, L: 37.8%

Color harmonies

#a21f1f color HTML and CSS codes

Example CSS code:

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

#a21f1f text/font color

How to set font color?

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

Font color is #a21f1f.

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

#a21f1f background color

How to set background color?

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

Background color is #a21f1f.

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