#40171c Color Information

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

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

#40171c color description : Very dark red.

#40171c Color Conversion

The hexadecimal color #40171c has RGB values of R:64, G:23, B:28 and CMYK values of C:0, M:0.64, Y:0.56, K:0.75. Its decimal value is 4200220.

Hex triplet 40171c #40171c
RGB Decimal 64, 23, 28 rgb(64,23,28)
RGB Percent 25.1, 9, 11 rgb(25.1%,9%,11%)
CMYK 0, 64, 56, 75
HSL 352.7°, 47.1, 17.1 hsl(352.7,47.1%,17.1%)
HSV (or HSB) 352.7°, 64.1, 25.1
Web Safe 330033 #330033
CIE-LAB 14.326, 20.522, 6.518
XYZ 2.63, 1.787, 1.305
xyY 0.46, 0.312, 1.787
CIE-LCH 14.326, 21.532, 17.62
CIE-LUV 14.326, 21.915, 2.589
Hunter-Lab 13.367, 11.732, 3.569
Binary 01000000, 00010111, 00011100

Color Schemes with #40171c

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

Alternatives to #40171c

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

Similar Colors

#40171c Preview

Text with hexadecimal color #40171c

This text has a font color of #40171c.

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

This paragraph has a background color of #40171c.

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

This element has a border color of #40171c.

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

Shades and Tints of #40171c

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

Shade Color Variation
Tint Color Variation

Tones of #40171c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40171c 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
  • #242424 Achromatopsia 0.005% of the population
  • #2a2122 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #312f2d Protanopia 1% of men
  • #372d25 Deuteranopia 1% of men
  • #492325 Tritanopia 0.001% of the population
Trichromacy
  • #362627 Protanomaly 1% of men, 0.01% of women
  • #3a2521 Deuteranomaly 6% of men, 0.4% of women
  • #461e22 Tritanomaly 0.01% of the population