#d040d2 hex color
In a RGB color space, hex #d040d2 is composed of 81.6% red, 25.1% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 1% cyan, 69.5% magenta, 0% yellow and 17.6% black. It has a hue angle of 299.2 degrees, a saturation of 61.9% and a lightness of 53.7%. #d040d2 color hex could be obtained by blending #ff80ff with #a100a5. Closest websafe color is: #cc33cc.
-
- R 82
- G 25
- B 82
RGB color chart
-
- C 1
- M 70
- Y 0
- K 18
CMYK color chart
● #d040d2 color description : Moderate magenta.
The hexadecimal color #d040d2 has RGB values of R:208, G:64, B:210 and CMYK values of C:0.01, M:0.7, Y:0, K:0.18. Its decimal value is 13648082.
Hex triplet | d040d2 | #d040d2 |
---|---|---|
RGB Decimal | 208, 64, 210 | rgb(208,64,210) |
RGB Percent | 81.6, 25.1, 82.4 | rgb(81.6%,25.1%,82.4%) |
CMYK | 1, 70, 0, 18 | |
HSL | 299.2°, 61.9, 53.7 | hsl(299.2,61.9%,53.7%) |
HSV (or HSB) | 299.2°, 69.5, 82.4 | |
Web Safe | cc33cc | #cc33cc |
CIE-LAB | 53.742, 72.446, -46.487 |
---|---|
XYZ | 39.478, 21.732, 63.085 |
xyY | 0.318, 0.175, 21.732 |
CIE-LCH | 53.742, 86.078, 327.312 |
CIE-LUV | 53.742, 60.664, -80.862 |
Hunter-Lab | 46.618, 69.579, -47.601 |
Binary | 11010000, 01000000, 11010010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #d040d2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #d040d2
This text has a font color of #d040d2.
<span style="color:#d040d2;">Text here</span>
#d040d2 background color
This paragraph has a background color of #d040d2.
<p style="background-color:#d040d2;">Content here</p>
#d040d2 border color
This element has a border color of #d040d2.
<div style="border:1px solid #d040d2;">Content here</div>
CSS codes
.text {color:#d040d2;}
.background {background-color:#d040d2;}
.border {border:1px solid #d040d2;}
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, #0f040f is the darkest color, while #ffffff is the lightest one.
-
#0f040f
#0f040f
rgb(15,4,15)
-
#1f071f
#1f071f
rgb(31,7,31)
-
#2f0b2f
#2f0b2f
rgb(47,11,47)
-
#3e0f3f
#3e0f3f
rgb(62,15,63)
-
#4e134f
#4e134f
rgb(78,19,79)
-
#5e165f
#5e165f
rgb(94,22,95)
-
#6d1a6f
#6d1a6f
rgb(109,26,111)
-
#7d1e7f
#7d1e7f
rgb(125,30,127)
-
#8d228e
#8d228e
rgb(141,34,142)
-
#9d259e
#9d259e
rgb(157,37,158)
-
#ac29ae
#ac29ae
rgb(172,41,174)
-
#bc2dbe
#bc2dbe
rgb(188,45,190)
-
#cc31ce
#cc31ce
rgb(204,49,206)
Shade Color Variation
-
#d040d2
#d040d2
rgb(208,64,210)
-
#d450d6
#d450d6
rgb(212,80,214)
-
#d860d9
#d860d9
rgb(216,96,217)
-
#dc70dd
#dc70dd
rgb(220,112,221)
-
#e080e1
#e080e1
rgb(224,128,225)
-
#e48fe5
#e48fe5
rgb(228,143,229)
-
#e79fe8
#e79fe8
rgb(231,159,232)
-
#ebafec
#ebafec
rgb(235,175,236)
-
#efbff0
#efbff0
rgb(239,191,240)
-
#f3cff4
#f3cff4
rgb(243,207,244)
-
#f7dff7
#f7dff7
rgb(247,223,247)
-
#fbeffb
#fbeffb
rgb(251,239,251)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #898989 is the less saturated color, while #f31cf6 is the most saturated one.
-
#898989
#898989
rgb(137,137,137)
-
#928092
#928092
rgb(146,128,146)
-
#9b769c
#9b769c
rgb(155,118,156)
-
#a46da5
#a46da5
rgb(164,109,165)
-
#ad64ae
#ad64ae
rgb(173,100,174)
-
#b65bb7
#b65bb7
rgb(182,91,183)
-
#be52c0
#be52c0
rgb(190,82,192)
-
#c749c9
#c749c9
rgb(199,73,201)
-
#d040d2
#d040d2
rgb(208,64,210)
-
#d937db
#d937db
rgb(217,55,219)
-
#e22ee4
#e22ee4
rgb(226,46,228)
-
#ea25ed
#ea25ed
rgb(234,37,237)
-
#f31cf6
#f31cf6
rgb(243,28,246)
Tone Color Variation
Below, you can see how #d040d2 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