COLOR #BA1871

HEX: #BA1871
RGB: (186,24,113)

Color info

#BA1871 contains mainly red color. Web safe color of #BA1871 is #CC0066 (or #C06).

RGB color model

#BA1871 color RGB value is (186,24,113).

  • red value is 186;
  • green value is 24;
  • blue value is 113.
RGB:
(186,24,113)
(73%,9%,44%)

RGB channels and saturation

R 186 of 255 = 73%
G 24 of 255 = 9%
B 113 of 255 = 44%

186
24
113

R + G + B ~ 42%. #BA1871 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
186 + 24 + 113 = 323 (100%)
R 186 of 323 ~ 57.59%
G 24 of 323 ~ 7.43%
B 113 of 323 ~ 34.98%

%57.59
%34.98

CMYK color model

#BA1871 color CMYK value is (0,87,39,27).

  • cyan value is 0.00%
  • magenta value is 87.10%
  • yellow value is 39.25%
  • key color value is 27.06%
CMYK:
(0,87,39,27)
C0M87Y39K27 
(0%,87%,39%,27%)
(0.00/0.87/0.39/0.27)	

CMYK percentages

%0
%87.1
%39.25
%27.06

Codes

Color #BA1871 in popluar color models

BA1871
RGB18624113
HSL327°77.14%41.18%
HSB/HSV327°87.10%72.94%
CMYK0.00%87.10%39.25%
27.06%

Color #BA1871 in popluar number systems.

HEXBA1871
Decimal18624113
Binary10111010110001110001
Octal27230161

Shades and tints

Shades of #BA1871

#BA1871
(186,24,113)
#AA1667
(170,22,103)
#9A145D
(154,20,93)
#8A1253
(138,18,83)
#7A1049
(122,16,73)
#6A0E3F
(106,14,63)
#5A0C35
(90,12,53)
#4A0A2B
(74,10,43)
#3A0821
(58,8,33)
#2A0617
(42,6,23)
#1A040D
(26,4,13)
#000000
(0,0,0)

Tints of #BA1871

#BA1871
(186,24,113)
#C02D7D
(192,45,125)
#C64289
(198,66,137)
#CC5795
(204,87,149)
#D26CA1
(210,108,161)
#D881AD
(216,129,173)
#DE96B9
(222,150,185)
#E4ABC5
(228,171,197)
#EAC0D1
(234,192,209)
#F0D5DD
(240,213,221)
#F6EAE9
(246,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #BA1871 color. Also use rgb(186,24,113) instead hex code.

Text Font Color

.myTextColor { color: #BA1871; }

<p style="color:#BA1871">This sample text font color is #BA1871.</p>

This text font color is #BA1871.


Background Color

.myBgColor { background-color: #BA1871; }

<div style="background-color:#BA1871">Inner text</div>

This div background color is #BA1871.


Border color

.myBorderColor { border: 1px solid #BA1871; }

<div style="border:3px solid #BA1871">Div</div>

This div border color is #BA1871.


Opacity

.myOpacity80 { color: #BA1871; opacity: 0.8; }

<p style="color:#BA1871;opacity:0.8;">80%</p>

Text with #BA1871 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #BA1871;}

<p style="text-shadow: 3px 3px 1px #BA1871">Text here.</p>

This text has shadow with #BA1871 color.

.textShadow {text-shadow: 3px 3px 1px #BA1871, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #BA1871, 5px 5px 20px red">Text here.</p>

This text has shadow with #BA1871 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA1871, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#BA1871, Direction=45, Strength=4)">Text</p>

This text has shadow with #BA1871 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #BA1871;
  -webkit-box-shadow:	1px 1px 3px 2px #BA1871;
  box-shadow:		1px 1px 3px 2px #BA1871;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #BA1871;
-webkit-box-shadow: 1px 1px 3px 2px #BA1871;
box-shadow:1px 1px 3px 2px #BA1871;">
Div content here</div>
This div box has shadow with color #BA1871.

Preview

Color preview on black background

This text has color #BA1871 on black background.


Color preview on white background

This text has color #BA1871 on white background.



Black color preview on #BA1871 background

This text has black color on #BA1871 background.


White color preview on #BA1871 background

This text has white color on #BA1871 background.