#540840 Color Information

In a RGB color space, hex #540840 is composed of 32.9% red, 3.1% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 90.5% magenta, 23.8% yellow and 67.1% black. It has a hue angle of 315.8 degrees, a saturation of 82.6% and a lightness of 18%. #540840 color hex could be obtained by blending #a81080 with #000000. Closest websafe color is: #660033.

    • R 33
    • G 3
    • B 25
    RGB color chart
    • C 0
    • M 90
    • Y 24
    • K 67
    CMYK color chart

#540840 color description : Very dark pink.

#540840 Color Conversion

The hexadecimal color #540840 has RGB values of R:84, G:8, B:64 and CMYK values of C:0, M:0.9, Y:0.24, K:0.67. Its decimal value is 5507136.

Hex triplet 540840 #540840
RGB Decimal 84, 8, 64 rgb(84,8,64)
RGB Percent 32.9, 3.1, 25.1 rgb(32.9%,3.1%,25.1%)
CMYK 0, 90, 24, 67
HSL 315.8°, 82.6, 18 hsl(315.8,82.6%,18%)
HSV (or HSB) 315.8°, 90.5, 32.9
Web Safe 660033 #660033
CIE-LAB 17.595, 38.306, -14.046
XYZ 4.668, 2.429, 5.073
xyY 0.384, 0.2, 2.429
CIE-LCH 17.595, 40.8, 339.863
CIE-LUV 17.595, 30.582, -18.344
Hunter-Lab 15.585, 26.193, -8.39
Binary 01010100, 00001000, 01000000

Color Schemes with #540840

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

Alternatives to #540840

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

Similar Colors

#540840 Preview

Text with hexadecimal color #540840

This text has a font color of #540840.

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

This paragraph has a background color of #540840.

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

This element has a border color of #540840.

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

Shades and Tints of #540840

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, #0c0109 is the darkest color, while #fef9fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540840

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540840 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
  • #252525 Achromatopsia 0.005% of the population
  • #2e1f2a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1e345e Protanopia 1% of men
  • #333543 Deuteranopia 1% of men
  • #592325 Tritanopia 0.001% of the population
Trichromacy
  • #312453 Protanomaly 1% of men, 0.01% of women
  • #3f2442 Deuteranomaly 6% of men, 0.4% of women
  • #57192f Tritanomaly 0.01% of the population