⤺ color picker

#af2b1e Color Hex

Hex color #af2b1e, RGB(175, 43, 30) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #af2b1e is a shade of red. In a RGB color space it is composed of 68.63% red, 16.86% green and 11.76% blue. In HSL notation it has 5.4° hue, 70.7% saturation and 40.2% lightness. The process color (CMYK) is combination of 0% cyan, 75.43% magenta, 82.86% yellow and 31.37% key (black). The closest short hexadecimal code of #af2b1e is #a21.

Color information

  • #af2b1e is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 75.43%
    • Yellow: 82.86%
    • Key color - black: 31.37%
  • In the RAL color palette it appears under the number RAL 3000. The color name is Flame red.
  • In the HSL model coordinates are:
    • Hue: 5.4° degrees
    • Saturation: 70.7%
    • Lightness: 40.2%
  • The values in the RGB color space are:
    • Red: 175 (68.63%)
    • Green: 43 (16.86%)
    • Blue: 30 (11.76%)


C: 0%, M: 75.43%, Y: 82.86%, K: 31.37%
R: 175, G: 43, B: 30
H: 5.4°, S: 70.7%, L: 40.2%

Color harmonies

#af2b1e color HTML and CSS codes

Example CSS code:

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

#af2b1e text/font color

How to set font color?

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

Font color is #af2b1e.

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

#af2b1e background color

How to set background color?

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

Background color is #af2b1e.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant