#ba21b5 hex color
In a RGB color space, hex #ba21b5 is composed of 72.9% red, 12.9% green and 71% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 82.3% magenta, 2.7% yellow and 27.1% black. It has a hue angle of 302 degrees, a saturation of 69.9% and a lightness of 42.9%. #ba21b5 color hex could be obtained by blending #ff42ff with #75006b. Closest websafe color is: #cc33cc.
-
- R 73
- G 13
- B 71
RGB color chart
-
- C 0
- M 82
- Y 3
- K 27
CMYK color chart
● #ba21b5 color description : Strong magenta.
The hexadecimal color #ba21b5 has RGB values of R:186, G:33, B:181 and CMYK values of C:0, M:0.82, Y:0.03, K:0.27. Its decimal value is 12198325.
Hex triplet | ba21b5 | #ba21b5 |
---|---|---|
RGB Decimal | 186, 33, 181 | rgb(186,33,181) |
RGB Percent | 72.9, 12.9, 71 | rgb(72.9%,12.9%,71%) |
CMYK | 0, 82, 3, 27 | |
HSL | 302°, 69.9, 42.9 | hsl(302,69.9%,42.9%) |
HSV (or HSB) | 302°, 82.3, 72.9 | |
Web Safe | cc33cc | #cc33cc |
CIE-LAB | 45.449, 72.257, -43.082 |
---|---|
XYZ | 29.134, 14.865, 45.048 |
xyY | 0.327, 0.167, 14.865 |
CIE-LCH | 45.449, 84.126, 329.195 |
CIE-LUV | 45.449, 60.906, -72.593 |
Hunter-Lab | 38.555, 67.409, -42.287 |
Binary | 10111010, 00100001, 10110101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba21b5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba21b5
This text has a font color of #ba21b5.
<span style="color:#ba21b5;">Text here</span>
#ba21b5 background color
This paragraph has a background color of #ba21b5.
<p style="background-color:#ba21b5;">Content here</p>
#ba21b5 border color
This element has a border color of #ba21b5.
<div style="border:1px solid #ba21b5;">Content here</div>
CSS codes
.text {color:#ba21b5;}
.background {background-color:#ba21b5;}
.border {border:1px solid #ba21b5;}
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, #030003 is the darkest color, while #fdf1fc is the lightest one.
-
#030003
#030003
rgb(3,0,3)
-
#130313
#130313
rgb(19,3,19)
-
#240623
#240623
rgb(36,6,35)
-
#350933
#350933
rgb(53,9,51)
-
#450c44
#450c44
rgb(69,12,68)
-
#560f54
#560f54
rgb(86,15,84)
-
#671264
#671264
rgb(103,18,100)
-
#771574
#771574
rgb(119,21,116)
-
#881884
#881884
rgb(136,24,132)
-
#991b95
#991b95
rgb(153,27,149)
-
#a91ea5
#a91ea5
rgb(169,30,165)
-
#ba21b5
#ba21b5
rgb(186,33,181)
-
#cb24c5
#cb24c5
rgb(203,36,197)
Shade Color Variation
-
#d929d3
#d929d3
rgb(217,41,211)
-
#dc3ad7
#dc3ad7
rgb(220,58,215)
-
#df4ada
#df4ada
rgb(223,74,218)
-
#e25bde
#e25bde
rgb(226,91,222)
-
#e56ce1
#e56ce1
rgb(229,108,225)
-
#e87ce4
#e87ce4
rgb(232,124,228)
-
#eb8de8
#eb8de8
rgb(235,141,232)
-
#ee9eeb
#ee9eeb
rgb(238,158,235)
-
#f1aeef
#f1aeef
rgb(241,174,239)
-
#f4bff2
#f4bff2
rgb(244,191,242)
-
#f7d0f5
#f7d0f5
rgb(247,208,245)
-
#fae0f9
#fae0f9
rgb(250,224,249)
-
#fdf1fc
#fdf1fc
rgb(253,241,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6e6d6e is the less saturated color, while #d308cd is the most saturated one.
-
#6e6d6e
#6e6d6e
rgb(110,109,110)
-
#776476
#776476
rgb(119,100,118)
-
#7f5c7e
#7f5c7e
rgb(127,92,126)
-
#875486
#875486
rgb(135,84,134)
-
#904b8e
#904b8e
rgb(144,75,142)
-
#984396
#984396
rgb(152,67,150)
-
#a13a9d
#a13a9d
rgb(161,58,157)
-
#a932a5
#a932a5
rgb(169,50,165)
-
#b229ad
#b229ad
rgb(178,41,173)
-
#ba21b5
#ba21b5
rgb(186,33,181)
-
#c219bd
#c219bd
rgb(194,25,189)
-
#cb10c5
#cb10c5
rgb(203,16,197)
-
#d308cd
#d308cd
rgb(211,8,205)
Tone Color Variation
Below, you can see how #ba21b5 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