#d172a1 hex color
In a RGB color space, hex #d172a1 is composed of 82% red, 44.7% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 45.5% magenta, 23% yellow and 18% black. It has a hue angle of 330.3 degrees, a saturation of 50.8% and a lightness of 63.3%. #d172a1 color hex could be obtained by blending #ffe4ff with #a30043. Closest websafe color is: #cc6699.
-
- R 82
- G 45
- B 63
RGB color chart
-
- C 0
- M 45
- Y 23
- K 18
CMYK color chart
● #d172a1 color description : Slightly desaturated pink.
The hexadecimal color #d172a1 has RGB values of R:209, G:114, B:161 and CMYK values of C:0, M:0.45, Y:0.23, K:0.18. Its decimal value is 13726369.
Hex triplet | d172a1 | #d172a1 |
---|---|---|
RGB Decimal | 209, 114, 161 | rgb(209,114,161) |
RGB Percent | 82, 44.7, 63.1 | rgb(82%,44.7%,63.1%) |
CMYK | 0, 45, 23, 18 | |
HSL | 330.3°, 50.8, 63.3 | hsl(330.3,50.8%,63.3%) |
HSV (or HSB) | 330.3°, 45.5, 82 | |
Web Safe | cc6699 | #cc6699 |
CIE-LAB | 60.038, 42.983, -8.606 |
---|---|
XYZ | 38.745, 28.165, 37.112 |
xyY | 0.372, 0.271, 28.165 |
CIE-LCH | 60.038, 43.836, 348.678 |
CIE-LUV | 60.038, 56.848, -19.988 |
Hunter-Lab | 53.071, 37.44, -4.311 |
Binary | 11010001, 01110010, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #d172a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #d172a1
This text has a font color of #d172a1.
<span style="color:#d172a1;">Text here</span>
#d172a1 background color
This paragraph has a background color of #d172a1.
<p style="background-color:#d172a1;">Content here</p>
#d172a1 border color
This element has a border color of #d172a1.
<div style="border:1px solid #d172a1;">Content here</div>
CSS codes
.text {color:#d172a1;}
.background {background-color:#d172a1;}
.border {border:1px solid #d172a1;}
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, #070205 is the darkest color, while #fcf7fa is the lightest one.
-
#070205
#070205
rgb(7,2,5)
-
#16070e
#16070e
rgb(22,7,14)
-
#240c18
#240c18
rgb(36,12,24)
-
#331122
#331122
rgb(51,17,34)
-
#42162c
#42162c
rgb(66,22,44)
-
#511a35
#511a35
rgb(81,26,53)
-
#601f3f
#601f3f
rgb(96,31,63)
-
#6e2449
#6e2449
rgb(110,36,73)
-
#7d2953
#7d2953
rgb(125,41,83)
-
#8c2e5c
#8c2e5c
rgb(140,46,92)
-
#9b3366
#9b3366
rgb(155,51,102)
-
#aa3770
#aa3770
rgb(170,55,112)
-
#b83c7a
#b83c7a
rgb(184,60,122)
Shade Color Variation
-
#c34683
#c34683
rgb(195,70,131)
-
#c7548d
#c7548d
rgb(199,84,141)
-
#cc6397
#cc6397
rgb(204,99,151)
-
#d172a1
#d172a1
rgb(209,114,161)
-
#d681ab
#d681ab
rgb(214,129,171)
-
#db90b5
#db90b5
rgb(219,144,181)
-
#df9ebf
#df9ebf
rgb(223,158,191)
-
#e4adc8
#e4adc8
rgb(228,173,200)
-
#e9bcd2
#e9bcd2
rgb(233,188,210)
-
#eecbdc
#eecbdc
rgb(238,203,220)
-
#f3dae6
#f3dae6
rgb(243,218,230)
-
#f8e8f0
#f8e8f0
rgb(248,232,240)
-
#fcf7fa
#fcf7fa
rgb(252,247,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #a69da1 is the less saturated color, while #fc47a1 is the most saturated one.
-
#a69da1
#a69da1
rgb(166,157,161)
-
#ad96a1
#ad96a1
rgb(173,150,161)
-
#b48fa1
#b48fa1
rgb(180,143,161)
-
#bb88a1
#bb88a1
rgb(187,136,161)
-
#c380a1
#c380a1
rgb(195,128,161)
-
#ca79a1
#ca79a1
rgb(202,121,161)
-
#d172a1
#d172a1
rgb(209,114,161)
-
#d86ba1
#d86ba1
rgb(216,107,161)
-
#df64a1
#df64a1
rgb(223,100,161)
-
#e75ca1
#e75ca1
rgb(231,92,161)
-
#ee55a1
#ee55a1
rgb(238,85,161)
-
#f54ea1
#f54ea1
rgb(245,78,161)
-
#fc47a1
#fc47a1
rgb(252,71,161)
Tone Color Variation
Below, you can see how #d172a1 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
Dichromacy