#840542 Color Information

In a RGB color space, hex #840542 is composed of 51.8% red, 2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 96.2% magenta, 50% yellow and 48.2% black. It has a hue angle of 331.2 degrees, a saturation of 92.7% and a lightness of 26.9%. #840542 color hex could be obtained by blending #ff0a84 with #090000. Closest websafe color is: #990033.

    • R 52
    • G 2
    • B 26
    RGB color chart
    • C 0
    • M 96
    • Y 50
    • K 48
    CMYK color chart

#840542 color description : Dark pink.

#840542 Color Conversion

The hexadecimal color #840542 has RGB values of R:132, G:5, B:66 and CMYK values of C:0, M:0.96, Y:0.5, K:0.48. Its decimal value is 8652098.

Hex triplet 840542 #840542
RGB Decimal 132, 5, 66 rgb(132,5,66)
RGB Percent 51.8, 2, 25.9 rgb(51.8%,2%,25.9%)
CMYK 0, 96, 50, 48
HSL 331.2°, 92.7, 26.9 hsl(331.2,92.7%,26.9%)
HSV (or HSB) 331.2°, 96.2, 51.8
Web Safe 990033 #990033
CIE-LAB 27.869, 51.233, 1.072
XYZ 10.554, 5.409, 5.642
xyY 0.488, 0.25, 5.409
CIE-LCH 27.869, 51.244, 1.199
CIE-LUV 27.869, 69.141, -7.299
Hunter-Lab 23.256, 40.304, 1.895
Binary 10000100, 00000101, 01000010

Color Schemes with #840542

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

Alternatives to #840542

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

Similar Colors

#840542 Preview

Text with hexadecimal color #840542

This text has a font color of #840542.

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

This paragraph has a background color of #840542.

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

This element has a border color of #840542.

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

Shades and Tints of #840542

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

Shade Color Variation
Tint Color Variation

Tones of #840542

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840542 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
  • #323232 Achromatopsia 0.005% of the population
  • #422935 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #434a64 Protanopia 1% of men
  • #554943 Deuteranopia 1% of men
  • #882223 Tritanopia 0.001% of the population
Trichromacy
  • #5a3158 Protanomaly 1% of men, 0.01% of women
  • #663043 Deuteranomaly 6% of men, 0.4% of women
  • #86182e Tritanomaly 0.01% of the population