#d840a2 hex color
In a RGB color space, hex #d840a2 is composed of 84.7% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70.4% magenta, 25% yellow and 15.3% black. It has a hue angle of 321.3 degrees, a saturation of 66.1% and a lightness of 54.9%. #d840a2 color hex could be obtained by blending #ff80ff with #b10045. Closest websafe color is: #cc3399.
-
- R 85
- G 25
- B 64
RGB color chart
-
- C 0
- M 70
- Y 25
- K 15
CMYK color chart
● #d840a2 color description : Moderate pink.
The hexadecimal color #d840a2 has RGB values of R:216, G:64, B:162 and CMYK values of C:0, M:0.7, Y:0.25, K:0.15. Its decimal value is 14172322.
Hex triplet | d840a2 | #d840a2 |
---|---|---|
RGB Decimal | 216, 64, 162 | rgb(216,64,162) |
RGB Percent | 84.7, 25.1, 63.5 | rgb(84.7%,25.1%,63.5%) |
CMYK | 0, 70, 25, 15 | |
HSL | 321.3°, 66.1, 54.9 | hsl(321.3,66.1%,54.9%) |
HSV (or HSB) | 321.3°, 70.4, 84.7 | |
Web Safe | cc3399 | #cc3399 |
CIE-LAB | 52.815, 67.391, -20.006 |
---|---|
XYZ | 36.674, 20.877, 36.279 |
xyY | 0.391, 0.223, 20.877 |
CIE-LCH | 52.815, 70.297, 343.466 |
CIE-LUV | 52.815, 83.757, -40.291 |
Hunter-Lab | 45.692, 63.31, -15.091 |
Binary | 11011000, 01000000, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #d840a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #d840a2
This text has a font color of #d840a2.
<span style="color:#d840a2;">Text here</span>
#d840a2 background color
This paragraph has a background color of #d840a2.
<p style="background-color:#d840a2;">Content here</p>
#d840a2 border color
This element has a border color of #d840a2.
<div style="border:1px solid #d840a2;">Content here</div>
CSS codes
.text {color:#d840a2;}
.background {background-color:#d840a2;}
.border {border:1px solid #d840a2;}
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, #040103 is the darkest color, while #fdf3f9 is the lightest one.
-
#040103
#040103
rgb(4,1,3)
-
#15040f
#15040f
rgb(21,4,15)
-
#25081b
#25081b
rgb(37,8,27)
-
#350b26
#350b26
rgb(53,11,38)
-
#460e32
#460e32
rgb(70,14,50)
-
#56123e
#56123e
rgb(86,18,62)
-
#661549
#661549
rgb(102,21,73)
-
#761855
#761855
rgb(118,24,85)
-
#871c61
#871c61
rgb(135,28,97)
-
#971f6c
#971f6c
rgb(151,31,108)
-
#a72278
#a72278
rgb(167,34,120)
-
#b82684
#b82684
rgb(184,38,132)
-
#c8298f
#c8298f
rgb(200,41,143)
Shade Color Variation
-
#d5309a
#d5309a
rgb(213,48,154)
-
#d840a2
#d840a2
rgb(216,64,162)
-
#db50aa
#db50aa
rgb(219,80,170)
-
#df61b2
#df61b2
rgb(223,97,178)
-
#e271ba
#e271ba
rgb(226,113,186)
-
#e581c2
#e581c2
rgb(229,129,194)
-
#e991ca
#e991ca
rgb(233,145,202)
-
#eca2d2
#eca2d2
rgb(236,162,210)
-
#efb2da
#efb2da
rgb(239,178,218)
-
#f3c2e1
#f3c2e1
rgb(243,194,225)
-
#f6d3e9
#f6d3e9
rgb(246,211,233)
-
#f9e3f1
#f9e3f1
rgb(249,227,241)
-
#fdf3f9
#fdf3f9
rgb(253,243,249)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #91878e is the less saturated color, while #fb1dac is the most saturated one.
-
#91878e
#91878e
rgb(145,135,142)
-
#9a7e90
#9a7e90
rgb(154,126,144)
-
#a37593
#a37593
rgb(163,117,147)
-
#ac6c95
#ac6c95
rgb(172,108,149)
-
#b56398
#b56398
rgb(181,99,152)
-
#bd5b9a
#bd5b9a
rgb(189,91,154)
-
#c6529d
#c6529d
rgb(198,82,157)
-
#cf499f
#cf499f
rgb(207,73,159)
-
#d840a2
#d840a2
rgb(216,64,162)
-
#e137a5
#e137a5
rgb(225,55,165)
-
#ea2ea7
#ea2ea7
rgb(234,46,167)
-
#f325aa
#f325aa
rgb(243,37,170)
-
#fb1dac
#fb1dac
rgb(251,29,172)
Tone Color Variation
Below, you can see how #d840a2 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