#40172a Color Information

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

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

#40172a color description : Very dark pink.

#40172a Color Conversion

The hexadecimal color #40172a has RGB values of R:64, G:23, B:42 and CMYK values of C:0, M:0.64, Y:0.34, K:0.75. Its decimal value is 4200234.

Hex triplet 40172a #40172a
RGB Decimal 64, 23, 42 rgb(64,23,42)
RGB Percent 25.1, 9, 16.5 rgb(25.1%,9%,16.5%)
CMYK 0, 64, 34, 75
HSL 332.2°, 47.1, 17.1 hsl(332.2,47.1%,17.1%)
HSV (or HSB) 332.2°, 64.1, 25.1
Web Safe 330033 #330033
CIE-LAB 14.791, 22.412, -3.004
XYZ 2.839, 1.87, 2.402
xyY 0.399, 0.263, 1.87
CIE-LCH 14.791, 22.613, 352.367
CIE-LUV 14.791, 19.268, -5.1
Hunter-Lab 13.675, 13.12, -0.84
Binary 01000000, 00010111, 00101010

Color Schemes with #40172a

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

Alternatives to #40172a

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

Similar Colors

#40172a Preview

Text with hexadecimal color #40172a

This text has a font color of #40172a.

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

This paragraph has a background color of #40172a.

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

This element has a border color of #40172a.

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

Shades and Tints of #40172a

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

Shade Color Variation
Tint Color Variation

Tones of #40172a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40172a 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
  • #2a2226 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2d303c Protanopia 1% of men
  • #342f32 Deuteranopia 1% of men
  • #482528 Tritanopia 0.001% of the population
Trichromacy
  • #342635 Protanomaly 1% of men, 0.01% of women
  • #38262f Deuteranomaly 6% of men, 0.4% of women
  • #452028 Tritanomaly 0.01% of the population