COLOR #8F5172

HEX: #8F5172 RGB: (143,81,114)

Color info

#8F5172 contains mainly red and blue colors. Web safe color of #8F5172 is #996666 (or #966).

RGB color model

#8F5172 color RGB value is (143,81,114).

RGB: (143,81,114) (56%, 32%, 45%)

RGB channels and saturation

R 143 of 255 = 56%
G 81 of 255 = 32%
B 114 of 255 = 45%

143
81
114

R + G + B ~ 44%. #8F5172 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 143 + 81 + 114 = 338 (100%)
R 143 of 338 ~ 42.31%
G 81 of 338 ~ 23.96%
B 114 of 338 ~ 33.73'%

%42.31
%23.96
%33.73

CMYK color model

#8F5172 color CMYK value is (0,43,20,44).

  • cyan value is 0.00%
  • magenta value is 43.36%
  • yellow value is 20.28%
  • key color value is 43.92%

CMYK: (0,43,20,44)
C0M43Y20K44 (0%, 43%, 20%, 44%)
(0.00 / 0.43 / 0.20 / 0.44)

CMYK percentages

%0
%43.36
%20.28
%43.92

Codes

Color #8F5172 in popluar color models

8F 51 72
RGB 143 81 114
HSL 328° 27.68% 43.92%
HSB/HSV 328° 43.36% 56.08%
CMYK 0.00% 43.36% 20.28%
43.92%

Color #8F5172 in popluar number systems.

HEX 8F 51 72
Decimal 143 81 114
Binary 10001111 1010001 1110010
Octal 217 121 162

Shades and tints

Shades of #8F5172

#8F5172
(143,81,114)
#824A68
(130,74,104)
#75435E
(117,67,94)
#683C54
(104,60,84)
#5B354A
(91,53,74)
#4E2E40
(78,46,64)
#412736
(65,39,54)
#34202C
(52,32,44)
#271922
(39,25,34)
#1A1218
(26,18,24)
#0D0B0E
(13,11,14)
#000000
(0,0,0)

Tints of #8F5172

#8F5172
(143,81,114)
#99607E
(153,96,126)
#A36F8A
(163,111,138)
#AD7E96
(173,126,150)
#B78DA2
(183,141,162)
#C19CAE
(193,156,174)
#CBABBA
(203,171,186)
#D5BAC6
(213,186,198)
#DFC9D2
(223,201,210)
#E9D8DE
(233,216,222)
#F3E7EA
(243,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8F5172 color. Also use rgb(143,81,114) instead hex code.

Text Font Color

.myTextColor { color: #8F5172; }

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

This text font color is #8F5172.

Background Color

.myBgColor { background-color: #8F5172; }

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

This div background color is #8F5172.

Border color

.myBorderColor { border: 1px solid #8F5172; }

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

This div border color is #8F5172.

Opacity

.myOpacity80 { color: #8F5172; opacity: 0.8; }

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

Text with #8F5172 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 #8F5172;}

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

This text has shadow with #8F5172 color.


.textShadow {text-shadow: 3px 3px 1px #8F5172', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8F5172; -webkit-box-shadow: 1px 1px 3px 2px #8F5172; box-shadow:1px 1px 3px 2px #8F5172;">
Div content here
</div>

This div box has shadow with color #8F5172.

Preview

Color preview on black background

This text has color #8F5172 on black background.


Color preview on white background

This text has color #8F5172 on white background.


Black color preview on #8F5172 background

This text has black color on #8F5172 background.


White color preview on #8F5172 background

This text has white color on #8F5172 background.


Related colors

Complementary color

Complementary color for #hex is #70AE8D.


I love getcolorcode.com

Triadic colors

1 #728F51 and #51728F with #8F5172 are triadic colors.

2 #72518F and #518F72 with #8F5172 are triadic colors.