#540c42 Color Information

In a RGB color space, hex #540c42 is composed of 32.9% red, 4.7% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 85.7% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 315 degrees, a saturation of 75% and a lightness of 18.8%. #540c42 color hex could be obtained by blending #a81884 with #000000. Closest websafe color is: #660033.

    • R 33
    • G 5
    • B 26
    RGB color chart
    • C 0
    • M 86
    • Y 21
    • K 67
    CMYK color chart

#540c42 color description : Very dark pink.

#540c42 Color Conversion

The hexadecimal color #540c42 has RGB values of R:84, G:12, B:66 and CMYK values of C:0, M:0.86, Y:0.21, K:0.67. Its decimal value is 5508162.

Hex triplet 540c42 #540c42
RGB Decimal 84, 12, 66 rgb(84,12,66)
RGB Percent 32.9, 4.7, 25.9 rgb(32.9%,4.7%,25.9%)
CMYK 0, 86, 21, 67
HSL 315°, 75, 18.8 hsl(315,75%,18.8%)
HSV (or HSB) 315°, 85.7, 32.9
Web Safe 660033 #660033
CIE-LAB 18.105, 37.437, -14.648
XYZ 4.771, 2.542, 5.393
xyY 0.375, 0.2, 2.542
CIE-LCH 18.105, 40.2, 338.631
CIE-LUV 18.105, 29.472, -19.096
Hunter-Lab 15.942, 25.521, -8.898
Binary 01010100, 00001100, 01000010

Color Schemes with #540c42

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

Alternatives to #540c42

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

Similar Colors

#540c42 Preview

Text with hexadecimal color #540c42

This text has a font color of #540c42.

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

This paragraph has a background color of #540c42.

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

This element has a border color of #540c42.

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

Shades and Tints of #540c42

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

Shade Color Variation
Tint Color Variation

Tones of #540c42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c42 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
  • #282828 Achromatopsia 0.005% of the population
  • #31222d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #20355f Protanopia 1% of men
  • #343645 Deuteranopia 1% of men
  • #592527 Tritanopia 0.001% of the population
Trichromacy
  • #332654 Protanomaly 1% of men, 0.01% of women
  • #3f2644 Deuteranomaly 6% of men, 0.4% of women
  • #571c31 Tritanomaly 0.01% of the population