#5a2040 Color Information

In a RGB color space, hex #5a2040 is composed of 35.3% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 64.4% magenta, 28.9% yellow and 64.7% black. It has a hue angle of 326.9 degrees, a saturation of 47.5% and a lightness of 23.9%. #5a2040 color hex could be obtained by blending #b44080 with #000000. Closest websafe color is: #663333.

    • R 35
    • G 13
    • B 25
    RGB color chart
    • C 0
    • M 64
    • Y 29
    • K 65
    CMYK color chart

#5a2040 color description : Very dark pink.

#5a2040 Color Conversion

The hexadecimal color #5a2040 has RGB values of R:90, G:32, B:64 and CMYK values of C:0, M:0.64, Y:0.29, K:0.65. Its decimal value is 5906496.

Hex triplet 5a2040 #5a2040
RGB Decimal 90, 32, 64 rgb(90,32,64)
RGB Percent 35.3, 12.5, 25.1 rgb(35.3%,12.5%,25.1%)
CMYK 0, 64, 29, 65
HSL 326.9°, 47.5, 23.9 hsl(326.9,47.5%,23.9%)
HSV (or HSB) 326.9°, 64.4, 35.3
Web Safe 663333 #663333
CIE-LAB 22.222, 30.485, -6.861
XYZ 5.658, 3.577, 5.243
xyY 0.391, 0.247, 3.577
CIE-LCH 22.222, 31.248, 347.316
CIE-LUV 22.222, 29.974, -11.36
Hunter-Lab 18.914, 20.303, -3.195
Binary 01011010, 00100000, 01000000

Color Schemes with #5a2040

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

Alternatives to #5a2040

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

Similar Colors

#5a2040 Preview

Text with hexadecimal color #5a2040

This text has a font color of #5a2040.

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

This paragraph has a background color of #5a2040.

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

This element has a border color of #5a2040.

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

Shades and Tints of #5a2040

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

Shade Color Variation
Tint Color Variation

Tones of #5a2040

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2040 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
  • #353535 Achromatopsia 0.005% of the population
  • #3c3137 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #383e55 Protanopia 1% of men
  • #423e45 Deuteranopia 1% of men
  • #603033 Tritanopia 0.001% of the population
Trichromacy
  • #44334d Protanomaly 1% of men, 0.01% of women
  • #4b3343 Deuteranomaly 6% of men, 0.4% of women
  • #5e2a38 Tritanomaly 0.01% of the population