#5a171f Color Information

In a RGB color space, hex #5a171f is composed of 35.3% red, 9% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 74.4% magenta, 65.6% yellow and 64.7% black. It has a hue angle of 352.8 degrees, a saturation of 59.3% and a lightness of 22.2%. #5a171f color hex could be obtained by blending #b42e3e with #000000. Closest websafe color is: #660033.

    • R 35
    • G 9
    • B 12
    RGB color chart
    • C 0
    • M 74
    • Y 66
    • K 65
    CMYK color chart

#5a171f color description : Very dark red.

#5a171f Color Conversion

The hexadecimal color #5a171f has RGB values of R:90, G:23, B:31 and CMYK values of C:0, M:0.74, Y:0.66, K:0.65. Its decimal value is 5904159.

Hex triplet 5a171f #5a171f
RGB Decimal 90, 23, 31 rgb(90,23,31)
RGB Percent 35.3, 9, 12.2 rgb(35.3%,9%,12.2%)
CMYK 0, 74, 66, 65
HSL 352.8°, 59.3, 22.2 hsl(352.8,59.3%,22.2%)
HSV (or HSB) 352.8°, 74.4, 35.3
Web Safe 660033 #660033
CIE-LAB 19.581, 31.067, 12.338
XYZ 4.77, 2.886, 1.602
xyY 0.515, 0.312, 2.886
CIE-LCH 19.581, 33.428, 21.66
CIE-LUV 19.581, 41.519, 5.848
Hunter-Lab 16.988, 20.395, 6.3
Binary 01011010, 00010111, 00011111

Color Schemes with #5a171f

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a171f

Below, you can see some colors close to #5a171f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a171f Preview

Text with hexadecimal color #5a171f

This text has a font color of #5a171f.

<span style="color:#5a171f;">Text here</span>
#5a171f background color

This paragraph has a background color of #5a171f.

<p style="background-color:#5a171f;">Content here</p>
#5a171f border color

This element has a border color of #5a171f.

<div style="border:1px solid #5a171f;">Content here</div>
CSS codes
.text {color:#5a171f;}
.background {background-color:#5a171f;}
.border {border:1px solid #5a171f;}

Shades and Tints of #5a171f

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0c0304 is the darkest color, while #fefbfc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a171f

A tone is produced by adding gray to any pure hue. In this case, #3c3536 is the less saturated color, while #70010e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a171f is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #2c2c2c Achromatopsia 0.005% of the population
  • #352829 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3c3a33 Protanopia 1% of men
  • #453726 Deuteranopia 1% of men
  • #622325 Tritanopia 0.001% of the population
Trichromacy
  • #472d2c Protanomaly 1% of men, 0.01% of women
  • #4d2b23 Deuteranomaly 6% of men, 0.4% of women
  • #5f1f23 Tritanomaly 0.01% of the population