#ec21c5 hex color
In a RGB color space, hex #ec21c5 is composed of 92.5% red, 12.9% green and 77.3% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86% magenta, 16.5% yellow and 7.5% black. It has a hue angle of 311.5 degrees, a saturation of 84.2% and a lightness of 52.7%. #ec21c5 color hex could be obtained by blending #ff42ff with #d9008b. Closest websafe color is: #ff33cc.
-
- R 93
- G 13
- B 77
RGB color chart
-
- C 0
- M 86
- Y 17
- K 7
CMYK color chart
● #ec21c5 color description : Vivid magenta.
The hexadecimal color #ec21c5 has RGB values of R:236, G:33, B:197 and CMYK values of C:0, M:0.86, Y:0.17, K:0.07. Its decimal value is 15475141.
Hex triplet | ec21c5 | #ec21c5 |
---|---|---|
RGB Decimal | 236, 33, 197 | rgb(236,33,197) |
RGB Percent | 92.5, 12.9, 77.3 | rgb(92.5%,12.9%,77.3%) |
CMYK | 0, 86, 17, 7 | |
HSL | 311.5°, 84.2, 52.7 | hsl(311.5,84.2%,52.7%) |
HSV (or HSB) | 311.5°, 86, 92.5 | |
Web Safe | ff33cc | #ff33cc |
CIE-LAB | 55.027, 84.165, -36.696 |
---|---|
XYZ | 45.214, 22.956, 54.87 |
xyY | 0.367, 0.187, 22.956 |
CIE-LCH | 55.027, 91.817, 336.443 |
CIE-LUV | 55.027, 91.937, -68.328 |
Hunter-Lab | 47.912, 84.602, -34.362 |
Binary | 11101100, 00100001, 11000101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ec21c5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ec21c5
This text has a font color of #ec21c5.
<span style="color:#ec21c5;">Text here</span>
#ec21c5 background color
This paragraph has a background color of #ec21c5.
<p style="background-color:#ec21c5;">Content here</p>
#ec21c5 border color
This element has a border color of #ec21c5.
<div style="border:1px solid #ec21c5;">Content here</div>
CSS codes
.text {color:#ec21c5;}
.background {background-color:#ec21c5;}
.border {border:1px solid #ec21c5;}
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, #0d010b is the darkest color, while #fffafe is the lightest one.
-
#0d010b
#0d010b
rgb(13,1,11)
-
#1f031a
#1f031a
rgb(31,3,26)
-
#310428
#310428
rgb(49,4,40)
-
#430637
#430637
rgb(67,6,55)
-
#550746
#550746
rgb(85,7,70)
-
#670955
#670955
rgb(103,9,85)
-
#790a64
#790a64
rgb(121,10,100)
-
#8b0c73
#8b0c73
rgb(139,12,115)
-
#9d0d82
#9d0d82
rgb(157,13,130)
-
#b00f91
#b00f91
rgb(176,15,145)
-
#c211a0
#c211a0
rgb(194,17,160)
-
#d412ae
#d412ae
rgb(212,18,174)
-
#e614bd
#e614bd
rgb(230,20,189)
Shade Color Variation
-
#ec21c5
#ec21c5
rgb(236,33,197)
-
#ee33ca
#ee33ca
rgb(238,51,202)
-
#ef45ce
#ef45ce
rgb(239,69,206)
-
#f157d3
#f157d3
rgb(241,87,211)
-
#f269d8
#f269d8
rgb(242,105,216)
-
#f47bdd
#f47bdd
rgb(244,123,221)
-
#f58de1
#f58de1
rgb(245,141,225)
-
#f79fe6
#f79fe6
rgb(247,159,230)
-
#f8b2eb
#f8b2eb
rgb(248,178,235)
-
#fac4ef
#fac4ef
rgb(250,196,239)
-
#fbd6f4
#fbd6f4
rgb(251,214,244)
-
#fde8f9
#fde8f9
rgb(253,232,249)
-
#fffafe
#fffafe
rgb(255,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #8f7e8c is the less saturated color, while #ff0ed0 is the most saturated one.
-
#8f7e8c
#8f7e8c
rgb(143,126,140)
-
#997492
#997492
rgb(153,116,146)
-
#a26b97
#a26b97
rgb(162,107,151)
-
#ab629d
#ab629d
rgb(171,98,157)
-
#b459a3
#b459a3
rgb(180,89,163)
-
#be4fa8
#be4fa8
rgb(190,79,168)
-
#c746ae
#c746ae
rgb(199,70,174)
-
#d03db4
#d03db4
rgb(208,61,180)
-
#d934ba
#d934ba
rgb(217,52,186)
-
#e32abf
#e32abf
rgb(227,42,191)
-
#ec21c5
#ec21c5
rgb(236,33,197)
-
#f518cb
#f518cb
rgb(245,24,203)
-
#ff0ed0
#ff0ed0
rgb(255,14,208)
Tone Color Variation
Below, you can see how #ec21c5 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