COLOR #AB5A7C

HEX: #AB5A7C RGB: (171,90,124)

Color info

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

RGB color model

#AB5A7C color RGB value is (171,90,124).

RGB: (171,90,124) (67%, 35%, 49%)

RGB channels and saturation

R 171 of 255 = 67%
G 90 of 255 = 35%
B 124 of 255 = 49%

171
90
124

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

Portions of RGB colors in percentages

R + G + B = 171 + 90 + 124 = 385 (100%)
R 171 of 385 ~ 44.42%
G 90 of 385 ~ 23.38%
B 124 of 385 ~ 32.21'%

%44.42
%23.38
%32.21

CMYK color model

#AB5A7C color CMYK value is (0,47,27,33).

  • cyan value is 0.00%
  • magenta value is 47.37%
  • yellow value is 27.49%
  • key color value is 32.94%
CMYK: (0,47,27,33) C0M47Y27K33 (0%,47%,27%,33%) (0.00/0.47/0.27/0.33) 

CMYK percentages

%0
%47.37
%27.49
%32.94

Codes

Color #AB5A7C in popluar color models

AB 5A 7C
RGB 171 90 124
HSL 335° 32.53% 51.18%
HSB/HSV 335° 47.37% 67.06%
CMYK 0.00% 47.37% 27.49%
32.94%

Color #AB5A7C in popluar number systems.

HEX AB 5A 7C
Decimal 171 90 124
Binary 10101011 1011010 1111100
Octal 253 132 174

Shades and tints

Shades of #AB5A7C

#AB5A7C
(171,90,124)
#9C5271
(156,82,113)
#8D4A66
(141,74,102)
#7E425B
(126,66,91)
#6F3A50
(111,58,80)
#603245
(96,50,69)
#512A3A
(81,42,58)
#42222F
(66,34,47)
#331A24
(51,26,36)
#241219
(36,18,25)
#150A0E
(21,10,14)
#000000
(0,0,0)

Tints of #AB5A7C

#AB5A7C
(171,90,124)
#B26987
(178,105,135)
#B97892
(185,120,146)
#C0879D
(192,135,157)
#C796A8
(199,150,168)
#CEA5B3
(206,165,179)
#D5B4BE
(213,180,190)
#DCC3C9
(220,195,201)
#E3D2D4
(227,210,212)
#EAE1DF
(234,225,223)
#F1F0EA
(241,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB5A7C color. Also use rgb(171,90,124) instead hex code.

Text Font Color

.myTextColor { color: #AB5A7C; }

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

This text font color is #AB5A7C.

Background Color

.myBgColor { background-color: #AB5A7C; }

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

This div background color is #AB5A7C.

Border color

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

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

This div border color is #AB5A7C.

Opacity

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

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

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

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

This text has shadow with #AB5A7C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AB5A7C.

Preview

Color preview on black background

This text has color #AB5A7C on black background.


Color preview on white background

This text has color #AB5A7C on white background.


Black color preview on #AB5A7C background

This text has black color on #AB5A7C background.


White color preview on #AB5A7C background

This text has white color on #AB5A7C background.


Related colors

Complementary color

Complementary color for #hex is #54A583.


I love getcolorcode.com

Triadic colors

1 #7CAB5A and #5A7CAB with #AB5A7C are triadic colors.

2 #7C5AAB and #5AAB7C with #AB5A7C are triadic colors.