#402138 Color Information

In a RGB color space, hex #402138 is composed of 25.1% red, 12.9% green and 22% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 48.4% magenta, 12.5% yellow and 74.9% black. It has a hue angle of 315.5 degrees, a saturation of 32% and a lightness of 19%. #402138 color hex could be obtained by blending #804270 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 13
    • B 22
    RGB color chart
    • C 0
    • M 48
    • Y 13
    • K 75
    CMYK color chart

#402138 color description : Very dark desaturated pink.

#402138 Color Conversion

The hexadecimal color #402138 has RGB values of R:64, G:33, B:56 and CMYK values of C:0, M:0.48, Y:0.13, K:0.75. Its decimal value is 4202808.

Hex triplet 402138 #402138
RGB Decimal 64, 33, 56 rgb(64,33,56)
RGB Percent 25.1, 12.9, 22 rgb(25.1%,12.9%,22%)
CMYK 0, 48, 13, 75
HSL 315.5°, 32, 19 hsl(315.5,32%,19%)
HSV (or HSB) 315.5°, 48.4, 25.1
Web Safe 333333 #333333
CIE-LAB 17.752, 18.809, -8.508
XYZ 3.372, 2.463, 4.039
xyY 0.341, 0.249, 2.463
CIE-LCH 17.752, 20.644, 335.661
CIE-LUV 17.752, 13.7, -10.514
Hunter-Lab 15.695, 10.882, -4.271
Binary 01000000, 00100001, 00111000

Color Schemes with #402138

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

Alternatives to #402138

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

Similar Colors

#402138 Preview

Text with hexadecimal color #402138

This text has a font color of #402138.

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

This paragraph has a background color of #402138.

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

This element has a border color of #402138.

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

Shades and Tints of #402138

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

Shade Color Variation
Tint Color Variation

Tones of #402138

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402138 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #312b2f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #303548 Protanopia 1% of men
  • #36353f Deuteranopia 1% of men
  • #472f33 Tritanopia 0.001% of the population
Trichromacy
  • #362e42 Protanomaly 1% of men, 0.01% of women
  • #3a2d3c Deuteranomaly 6% of men, 0.4% of women
  • #452a34 Tritanomaly 0.01% of the population