#ba18b6 hex color
In a RGB color space, hex #ba18b6 is composed of 72.9% red, 9.4% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 87.1% magenta, 2.2% yellow and 27.1% black. It has a hue angle of 301.5 degrees, a saturation of 77.1% and a lightness of 41.2%. #ba18b6 color hex could be obtained by blending #ff30ff with #75006d. Closest websafe color is: #cc00cc.
-
- R 73
- G 9
- B 71
RGB color chart
-
- C 0
- M 87
- Y 2
- K 27
CMYK color chart
● #ba18b6 color description : Strong magenta.
The hexadecimal color #ba18b6 has RGB values of R:186, G:24, B:182 and CMYK values of C:0, M:0.87, Y:0.02, K:0.27. Its decimal value is 12196022.
Hex triplet | ba18b6 | #ba18b6 |
---|---|---|
RGB Decimal | 186, 24, 182 | rgb(186,24,182) |
RGB Percent | 72.9, 9.4, 71.4 | rgb(72.9%,9.4%,71.4%) |
CMYK | 0, 87, 2, 27 | |
HSL | 301.5°, 77.1, 41.2 | hsl(301.5,77.1%,41.2%) |
HSV (or HSB) | 301.5°, 87.1, 72.9 | |
Web Safe | cc00cc | #cc00cc |
CIE-LAB | 44.902, 74.173, -44.541 |
---|---|
XYZ | 29.019, 14.472, 45.518 |
xyY | 0.326, 0.163, 14.472 |
CIE-LCH | 44.902, 86.519, 329.015 |
CIE-LUV | 44.902, 61.589, -74.693 |
Hunter-Lab | 38.042, 69.591, -44.313 |
Binary | 10111010, 00011000, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba18b6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba18b6
This text has a font color of #ba18b6.
<span style="color:#ba18b6;">Text here</span>
#ba18b6 background color
This paragraph has a background color of #ba18b6.
<p style="background-color:#ba18b6;">Content here</p>
#ba18b6 border color
This element has a border color of #ba18b6.
<div style="border:1px solid #ba18b6;">Content here</div>
CSS codes
.text {color:#ba18b6;}
.background {background-color:#ba18b6;}
.border {border:1px solid #ba18b6;}
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, #0c020c is the darkest color, while #fefafe is the lightest one.
-
#0c020c
#0c020c
rgb(12,2,12)
-
#1e041d
#1e041d
rgb(30,4,29)
-
#2f062e
#2f062e
rgb(47,6,46)
-
#40083f
#40083f
rgb(64,8,63)
-
#520b50
#520b50
rgb(82,11,80)
-
#630d61
#630d61
rgb(99,13,97)
-
#750f72
#750f72
rgb(117,15,114)
-
#861183
#861183
rgb(134,17,131)
-
#971494
#971494
rgb(151,20,148)
-
#a916a5
#a916a5
rgb(169,22,165)
-
#ba18b6
#ba18b6
rgb(186,24,182)
-
#cb1ac7
#cb1ac7
rgb(203,26,199)
-
#dd1cd8
#dd1cd8
rgb(221,28,216)
Shade Color Variation
-
#e329df
#e329df
rgb(227,41,223)
-
#e63be1
#e63be1
rgb(230,59,225)
-
#e84ce4
#e84ce4
rgb(232,76,228)
-
#ea5ee7
#ea5ee7
rgb(234,94,231)
-
#ec6fe9
#ec6fe9
rgb(236,111,233)
-
#ef80ec
#ef80ec
rgb(239,128,236)
-
#f192ef
#f192ef
rgb(241,146,239)
-
#f3a3f1
#f3a3f1
rgb(243,163,241)
-
#f5b4f4
#f5b4f4
rgb(245,180,244)
-
#f8c6f6
#f8c6f6
rgb(248,198,246)
-
#fad7f9
#fad7f9
rgb(250,215,249)
-
#fce9fc
#fce9fc
rgb(252,233,252)
-
#fefafe
#fefafe
rgb(254,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #696969 is the less saturated color, while #ca08c5 is the most saturated one.
-
#696969
#696969
rgb(105,105,105)
-
#716171
#716171
rgb(113,97,113)
-
#795979
#795979
rgb(121,89,121)
-
#815180
#815180
rgb(129,81,128)
-
#8a4888
#8a4888
rgb(138,72,136)
-
#924090
#924090
rgb(146,64,144)
-
#9a3897
#9a3897
rgb(154,56,151)
-
#a2309f
#a2309f
rgb(162,48,159)
-
#aa28a7
#aa28a7
rgb(170,40,167)
-
#b220ae
#b220ae
rgb(178,32,174)
-
#ba18b6
#ba18b6
rgb(186,24,182)
-
#c210be
#c210be
rgb(194,16,190)
-
#ca08c5
#ca08c5
rgb(202,8,197)
Tone Color Variation
Below, you can see how #ba18b6 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