#d540a2 hex color
In a RGB color space, hex #d540a2 is composed of 83.5% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70% magenta, 23.9% yellow and 16.5% black. It has a hue angle of 320.5 degrees, a saturation of 63.9% and a lightness of 54.3%. #d540a2 color hex could be obtained by blending #ff80ff with #ab0045. Closest websafe color is: #cc3399.
-
- R 84
- G 25
- B 64
RGB color chart
-
- C 0
- M 70
- Y 24
- K 16
CMYK color chart
● #d540a2 color description : Moderate pink.
The hexadecimal color #d540a2 has RGB values of R:213, G:64, B:162 and CMYK values of C:0, M:0.7, Y:0.24, K:0.16. Its decimal value is 13975714.
Hex triplet | d540a2 | #d540a2 |
---|---|---|
RGB Decimal | 213, 64, 162 | rgb(213,64,162) |
RGB Percent | 83.5, 25.1, 63.5 | rgb(83.5%,25.1%,63.5%) |
CMYK | 0, 70, 24, 16 | |
HSL | 320.5°, 63.9, 54.3 | hsl(320.5,63.9%,54.3%) |
HSV (or HSB) | 320.5°, 70, 83.5 | |
Web Safe | cc3399 | #cc3399 |
CIE-LAB | 52.314, 66.622, -20.817 |
---|---|
XYZ | 35.796, 20.425, 36.238 |
xyY | 0.387, 0.221, 20.425 |
CIE-LCH | 52.314, 69.798, 342.647 |
CIE-LUV | 52.314, 81.423, -41.24 |
Hunter-Lab | 45.194, 62.293, -15.905 |
Binary | 11010101, 01000000, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #d540a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #d540a2
This text has a font color of #d540a2.
<span style="color:#d540a2;">Text here</span>
#d540a2 background color
This paragraph has a background color of #d540a2.
<p style="background-color:#d540a2;">Content here</p>
#d540a2 border color
This element has a border color of #d540a2.
<div style="border:1px solid #d540a2;">Content here</div>
CSS codes
.text {color:#d540a2;}
.background {background-color:#d540a2;}
.border {border:1px solid #d540a2;}
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, #020001 is the darkest color, while #fcf1f8 is the lightest one.
-
#020001
#020001
rgb(2,0,1)
-
#12040d
#12040d
rgb(18,4,13)
-
#220819
#220819
rgb(34,8,25)
-
#320b25
#320b25
rgb(50,11,37)
-
#420f31
#420f31
rgb(66,15,49)
-
#52123c
#52123c
rgb(82,18,60)
-
#621648
#621648
rgb(98,22,72)
-
#731954
#731954
rgb(115,25,84)
-
#831d60
#831d60
rgb(131,29,96)
-
#93206c
#93206c
rgb(147,32,108)
-
#a32477
#a32477
rgb(163,36,119)
-
#b32783
#b32783
rgb(179,39,131)
-
#c32b8f
#c32b8f
rgb(195,43,143)
Shade Color Variation
-
#d1309a
#d1309a
rgb(209,48,154)
-
#d540a2
#d540a2
rgb(213,64,162)
-
#d950aa
#d950aa
rgb(217,80,170)
-
#dc60b2
#dc60b2
rgb(220,96,178)
-
#e070b9
#e070b9
rgb(224,112,185)
-
#e380c1
#e380c1
rgb(227,128,193)
-
#e790c9
#e790c9
rgb(231,144,201)
-
#eaa0d1
#eaa0d1
rgb(234,160,209)
-
#eeb1d9
#eeb1d9
rgb(238,177,217)
-
#f1c1e1
#f1c1e1
rgb(241,193,225)
-
#f5d1e8
#f5d1e8
rgb(245,209,232)
-
#f8e1f0
#f8e1f0
rgb(248,225,240)
-
#fcf1f8
#fcf1f8
rgb(252,241,248)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #8d888b is the less saturated color, while #f91cad is the most saturated one.
-
#8d888b
#8d888b
rgb(141,136,139)
-
#967f8e
#967f8e
rgb(150,127,142)
-
#9f7691
#9f7691
rgb(159,118,145)
-
#a86d94
#a86d94
rgb(168,109,148)
-
#b16497
#b16497
rgb(177,100,151)
-
#ba5b9a
#ba5b9a
rgb(186,91,154)
-
#c3529c
#c3529c
rgb(195,82,156)
-
#cc499f
#cc499f
rgb(204,73,159)
-
#d540a2
#d540a2
rgb(213,64,162)
-
#de37a5
#de37a5
rgb(222,55,165)
-
#e72ea8
#e72ea8
rgb(231,46,168)
-
#f025aa
#f025aa
rgb(240,37,170)
-
#f91cad
#f91cad
rgb(249,28,173)
Tone Color Variation
Below, you can see how #d540a2 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