#d840c5 hex color
In a RGB color space, hex #d840c5 is composed of 84.7% red, 25.1% green and 77.3% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70.4% magenta, 8.8% yellow and 15.3% black. It has a hue angle of 307.5 degrees, a saturation of 66.1% and a lightness of 54.9%. #d840c5 color hex could be obtained by blending #ff80ff with #b1008b. Closest websafe color is: #cc33cc.
-
- R 85
- G 25
- B 77
RGB color chart
-
- C 0
- M 70
- Y 9
- K 15
CMYK color chart
● #d840c5 color description : Moderate magenta.
The hexadecimal color #d840c5 has RGB values of R:216, G:64, B:197 and CMYK values of C:0, M:0.7, Y:0.09, K:0.15. Its decimal value is 14172357.
Hex triplet | d840c5 | #d840c5 |
---|---|---|
RGB Decimal | 216, 64, 197 | rgb(216,64,197) |
RGB Percent | 84.7, 25.1, 77.3 | rgb(84.7%,25.1%,77.3%) |
CMYK | 0, 70, 9, 15 | |
HSL | 307.5°, 66.1, 54.9 | hsl(307.5,66.1%,54.9%) |
HSV (or HSB) | 307.5°, 70.4, 84.7 | |
Web Safe | cc33cc | #cc33cc |
CIE-LAB | 54.344, 72.206, -38.005 |
---|---|
XYZ | 40.23, 22.3, 55.006 |
xyY | 0.342, 0.19, 22.3 |
CIE-LCH | 54.344, 81.596, 332.24 |
CIE-LUV | 54.344, 70.859, -68.172 |
Hunter-Lab | 47.223, 69.428, -36.006 |
Binary | 11011000, 01000000, 11000101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #d840c5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #d840c5
This text has a font color of #d840c5.
<span style="color:#d840c5;">Text here</span>
#d840c5 background color
This paragraph has a background color of #d840c5.
<p style="background-color:#d840c5;">Content here</p>
#d840c5 border color
This element has a border color of #d840c5.
<div style="border:1px solid #d840c5;">Content here</div>
CSS codes
.text {color:#d840c5;}
.background {background-color:#d840c5;}
.border {border:1px solid #d840c5;}
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, #040104 is the darkest color, while #fdf3fb is the lightest one.
-
#040104
#040104
rgb(4,1,4)
-
#150413
#150413
rgb(21,4,19)
-
#250821
#250821
rgb(37,8,33)
-
#350b30
#350b30
rgb(53,11,48)
-
#460e3f
#460e3f
rgb(70,14,63)
-
#56124d
#56124d
rgb(86,18,77)
-
#66155c
#66155c
rgb(102,21,92)
-
#76186b
#76186b
rgb(118,24,107)
-
#871c79
#871c79
rgb(135,28,121)
-
#971f88
#971f88
rgb(151,31,136)
-
#a72297
#a72297
rgb(167,34,151)
-
#b826a5
#b826a5
rgb(184,38,165)
-
#c829b4
#c829b4
rgb(200,41,180)
Shade Color Variation
-
#d530c0
#d530c0
rgb(213,48,192)
-
#d840c5
#d840c5
rgb(216,64,197)
-
#db50ca
#db50ca
rgb(219,80,202)
-
#df61cf
#df61cf
rgb(223,97,207)
-
#e271d4
#e271d4
rgb(226,113,212)
-
#e581d9
#e581d9
rgb(229,129,217)
-
#e991de
#e991de
rgb(233,145,222)
-
#eca2e3
#eca2e3
rgb(236,162,227)
-
#efb2e8
#efb2e8
rgb(239,178,232)
-
#f3c2ed
#f3c2ed
rgb(243,194,237)
-
#f6d3f2
#f6d3f2
rgb(246,211,242)
-
#f9e3f6
#f9e3f6
rgb(249,227,246)
-
#fdf3fb
#fdf3fb
rgb(253,243,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #918790 is the less saturated color, while #fb1de0 is the most saturated one.
-
#918790
#918790
rgb(145,135,144)
-
#9a7e97
#9a7e97
rgb(154,126,151)
-
#a3759d
#a3759d
rgb(163,117,157)
-
#ac6ca4
#ac6ca4
rgb(172,108,164)
-
#b563aa
#b563aa
rgb(181,99,170)
-
#bd5bb1
#bd5bb1
rgb(189,91,177)
-
#c652b8
#c652b8
rgb(198,82,184)
-
#cf49be
#cf49be
rgb(207,73,190)
-
#d840c5
#d840c5
rgb(216,64,197)
-
#e137cc
#e137cc
rgb(225,55,204)
-
#ea2ed2
#ea2ed2
rgb(234,46,210)
-
#f325d9
#f325d9
rgb(243,37,217)
-
#fb1de0
#fb1de0
rgb(251,29,224)
Tone Color Variation
Below, you can see how #d840c5 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