#5a5158 Color Information

In a RGB color space, hex #5a5158 is composed of 35.3% red, 31.8% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 10% magenta, 2.2% yellow and 64.7% black. It has a hue angle of 313.3 degrees, a saturation of 5.3% and a lightness of 33.5%. #5a5158 color hex could be obtained by blending #b4a2b0 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 32
    • B 35
    RGB color chart
    • C 0
    • M 10
    • Y 2
    • K 65
    CMYK color chart

#5a5158 color description : Very dark grayish magenta.

#5a5158 Color Conversion

The hexadecimal color #5a5158 has RGB values of R:90, G:81, B:88 and CMYK values of C:0, M:0.1, Y:0.02, K:0.65. Its decimal value is 5919064.

Hex triplet 5a5158 #5a5158
RGB Decimal 90, 81, 88 rgb(90,81,88)
RGB Percent 35.3, 31.8, 34.5 rgb(35.3%,31.8%,34.5%)
CMYK 0, 10, 2, 65
HSL 313.3°, 5.3, 33.5 hsl(313.3,5.3%,33.5%)
HSV (or HSB) 313.3°, 10, 35.3
Web Safe 666666 #666666
CIE-LAB 35.524, 5.132, -2.744
XYZ 8.92, 8.763, 10.454
xyY 0.317, 0.311, 8.763
CIE-LCH 35.524, 5.82, 331.866
CIE-LUV 35.524, 4.586, -4.19
Hunter-Lab 29.603, 1.982, -0.215
Binary 01011010, 01010001, 01011000

Color Schemes with #5a5158

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

Alternatives to #5a5158

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

Similar Colors

#5a5158 Preview

Text with hexadecimal color #5a5158

This text has a font color of #5a5158.

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

This paragraph has a background color of #5a5158.

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

This element has a border color of #5a5158.

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

Shades and Tints of #5a5158

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, #070707 is the darkest color, while #fcfcfc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5158

A tone is produced by adding gray to any pure hue. In this case, #5a5158 is the less saturated color, while #a90284 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5158 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
  • #545454 Achromatopsia 0.005% of the population
  • #555355 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5c5b61 Protanopia 1% of men
  • #625960 Deuteranopia 1% of men
  • #625a60 Tritanopia 0.001% of the population
Trichromacy
  • #5b575e Protanomaly 1% of men, 0.01% of women
  • #5f565d Deuteranomaly 6% of men, 0.4% of women
  • #5f565d Tritanomaly 0.01% of the population