#40172e Color Information

In a RGB color space, hex #40172e is composed of 25.1% red, 9% green and 18% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 64.1% magenta, 28.1% yellow and 74.9% black. It has a hue angle of 326.3 degrees, a saturation of 47.1% and a lightness of 17.1%. #40172e color hex could be obtained by blending #802e5c with #000000. Closest websafe color is: #330033.

    • R 25
    • G 9
    • B 18
    RGB color chart
    • C 0
    • M 64
    • Y 28
    • K 75
    CMYK color chart

#40172e color description : Very dark pink.

#40172e Color Conversion

The hexadecimal color #40172e has RGB values of R:64, G:23, B:46 and CMYK values of C:0, M:0.64, Y:0.28, K:0.75. Its decimal value is 4200238.

Hex triplet 40172e #40172e
RGB Decimal 64, 23, 46 rgb(64,23,46)
RGB Percent 25.1, 9, 18 rgb(25.1%,9%,18%)
CMYK 0, 64, 28, 75
HSL 326.3°, 47.1, 17.1 hsl(326.3,47.1%,17.1%)
HSV (or HSB) 326.3°, 64.1, 25.1
Web Safe 330033 #330033
CIE-LAB 14.955, 23.062, -5.648
XYZ 2.914, 1.9, 2.798
xyY 0.383, 0.25, 1.9
CIE-LCH 14.955, 23.744, 346.238
CIE-LUV 14.955, 18.456, -7.535
Hunter-Lab 13.785, 13.608, -2.385
Binary 01000000, 00010111, 00101110

Color Schemes with #40172e

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

Alternatives to #40172e

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

Similar Colors

#40172e Preview

Text with hexadecimal color #40172e

This text has a font color of #40172e.

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

This paragraph has a background color of #40172e.

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

This element has a border color of #40172e.

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

Shades and Tints of #40172e

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

Shade Color Variation
Tint Color Variation

Tones of #40172e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40172e 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
  • #262626 Achromatopsia 0.005% of the population
  • #2b2328 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2b3040 Protanopia 1% of men
  • #332f35 Deuteranopia 1% of men
  • #482629 Tritanopia 0.001% of the population
Trichromacy
  • #33273a Protanomaly 1% of men, 0.01% of women
  • #372632 Deuteranomaly 6% of men, 0.4% of women
  • #45202a Tritanomaly 0.01% of the population