#ba38a6 hex color
In a RGB color space, hex #ba38a6 is composed of 72.9% red, 22% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 69.9% magenta, 10.8% yellow and 27.1% black. It has a hue angle of 309.2 degrees, a saturation of 53.7% and a lightness of 47.5%. #ba38a6 color hex could be obtained by blending #ff70ff with #75004d. Closest websafe color is: #cc3399.
-
- R 73
- G 22
- B 65
RGB color chart
-
- C 0
- M 70
- Y 11
- K 27
CMYK color chart
● #ba38a6 color description : Moderate magenta.
The hexadecimal color #ba38a6 has RGB values of R:186, G:56, B:166 and CMYK values of C:0, M:0.7, Y:0.11, K:0.27. Its decimal value is 12204198.
Hex triplet | ba38a6 | #ba38a6 |
---|---|---|
RGB Decimal | 186, 56, 166 | rgb(186,56,166) |
RGB Percent | 72.9, 22, 65.1 | rgb(72.9%,22%,65.1%) |
CMYK | 0, 70, 11, 27 | |
HSL | 309.2°, 53.7, 47.5 | hsl(309.2,53.7%,47.5%) |
HSV (or HSB) | 309.2°, 69.9, 72.9 | |
Web Safe | cc3399 | #cc3399 |
CIE-LAB | 47.004, 63.273, -31.767 |
---|---|
XYZ | 28.547, 16.023, 37.664 |
xyY | 0.347, 0.195, 16.023 |
CIE-LCH | 47.004, 70.8, 333.341 |
CIE-LUV | 47.004, 61.822, -55.433 |
Hunter-Lab | 40.028, 57.249, -27.767 |
Binary | 10111010, 00111000, 10100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba38a6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba38a6
This text has a font color of #ba38a6.
<span style="color:#ba38a6;">Text here</span>
#ba38a6 background color
This paragraph has a background color of #ba38a6.
<p style="background-color:#ba38a6;">Content here</p>
#ba38a6 border color
This element has a border color of #ba38a6.
<div style="border:1px solid #ba38a6;">Content here</div>
CSS codes
.text {color:#ba38a6;}
.background {background-color:#ba38a6;}
.border {border:1px solid #ba38a6;}
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, #050205 is the darkest color, while #fcf5fb is the lightest one.
-
#050205
#050205
rgb(5,2,5)
-
#140612
#140612
rgb(20,6,18)
-
#230b1f
#230b1f
rgb(35,11,31)
-
#320f2d
#320f2d
rgb(50,15,45)
-
#41143a
#41143a
rgb(65,20,58)
-
#501848
#501848
rgb(80,24,72)
-
#601d55
#601d55
rgb(96,29,85)
-
#6f2163
#6f2163
rgb(111,33,99)
-
#7e2670
#7e2670
rgb(126,38,112)
-
#8d2a7e
#8d2a7e
rgb(141,42,126)
-
#9c2f8b
#9c2f8b
rgb(156,47,139)
-
#ab3399
#ab3399
rgb(171,51,153)
-
#ba38a6
#ba38a6
rgb(186,56,166)
Shade Color Variation
-
#c640b1
#c640b1
rgb(198,64,177)
-
#ca4fb7
#ca4fb7
rgb(202,79,183)
-
#cf5ebd
#cf5ebd
rgb(207,94,189)
-
#d36dc3
#d36dc3
rgb(211,109,195)
-
#d87cca
#d87cca
rgb(216,124,202)
-
#dc8bd0
#dc8bd0
rgb(220,139,208)
-
#e19bd6
#e19bd6
rgb(225,155,214)
-
#e5aadc
#e5aadc
rgb(229,170,220)
-
#eab9e2
#eab9e2
rgb(234,185,226)
-
#eec8e8
#eec8e8
rgb(238,200,232)
-
#f3d7ef
#f3d7ef
rgb(243,215,239)
-
#f7e6f5
#f7e6f5
rgb(247,230,245)
-
#fcf5fb
#fcf5fb
rgb(252,245,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #82707f is the less saturated color, while #f200cd is the most saturated one.
-
#82707f
#82707f
rgb(130,112,127)
-
#8b6786
#8b6786
rgb(139,103,134)
-
#955d8c
#955d8c
rgb(149,93,140)
-
#9e5493
#9e5493
rgb(158,84,147)
-
#a74b99
#a74b99
rgb(167,75,153)
-
#b141a0
#b141a0
rgb(177,65,160)
-
#ba38a6
#ba38a6
rgb(186,56,166)
-
#c32fac
#c32fac
rgb(195,47,172)
-
#cd25b3
#cd25b3
rgb(205,37,179)
-
#d61cb9
#d61cb9
rgb(214,28,185)
-
#df13c0
#df13c0
rgb(223,19,192)
-
#e909c6
#e909c6
rgb(233,9,198)
-
#f200cd
#f200cd
rgb(242,0,205)
Tone Color Variation
Below, you can see how #ba38a6 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