COLOR #D12B7F

HEX: #D12B7F
RGB: (209,43,127)

Color info

#D12B7F contains mainly red color. Web safe color of #D12B7F is #CC3366 (or #C36).

RGB color model

#D12B7F color RGB value is (209,43,127).

  • red value is 209;
  • green value is 43;
  • blue value is 127.
RGB:
(209,43,127)
(82%,17%,50%)

RGB channels and saturation

R 209 of 255 = 82%
G 43 of 255 = 17%
B 127 of 255 = 50%

209
43
127

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

Portions of RGB colors in percentages

R + G + B =
209 + 43 + 127 = 379 (100%)
R 209 of 379 ~ 55.15%
G 43 of 379 ~ 11.35%
B 127 of 379 ~ 33.51%

%55.15
%11.35
%33.51

CMYK color model

#D12B7F color CMYK value is (0,79,39,18).

  • cyan value is 0.00%
  • magenta value is 79.43%
  • yellow value is 39.23%
  • key color value is 18.04%
CMYK:
(0,79,39,18)
C0M79Y39K18 
(0%,79%,39%,18%)
(0.00/0.79/0.39/0.18)	

CMYK percentages

%0
%79.43
%39.23
%18.04

Codes

Color #D12B7F in popluar color models

D12B7F
RGB20943127
HSL330°65.87%49.41%
HSB/HSV330°79.43%81.96%
CMYK0.00%79.43%39.23%
18.04%

Color #D12B7F in popluar number systems.

HEXD12B7F
Decimal20943127
Binary110100011010111111111
Octal32153177

Shades and tints

Shades of #D12B7F

#D12B7F
(209,43,127)
#BE2874
(190,40,116)
#AB2569
(171,37,105)
#98225E
(152,34,94)
#851F53
(133,31,83)
#721C48
(114,28,72)
#5F193D
(95,25,61)
#4C1632
(76,22,50)
#391327
(57,19,39)
#26101C
(38,16,28)
#130D11
(19,13,17)
#000000
(0,0,0)

Tints of #D12B7F

#D12B7F
(209,43,127)
#D53E8A
(213,62,138)
#D95195
(217,81,149)
#DD64A0
(221,100,160)
#E177AB
(225,119,171)
#E58AB6
(229,138,182)
#E99DC1
(233,157,193)
#EDB0CC
(237,176,204)
#F1C3D7
(241,195,215)
#F5D6E2
(245,214,226)
#F9E9ED
(249,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D12B7F color. Also use rgb(209,43,127) instead hex code.

Text Font Color

.myTextColor { color: #D12B7F; }

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

This text font color is #D12B7F.


Background Color

.myBgColor { background-color: #D12B7F; }

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

This div background color is #D12B7F.


Border color

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

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

This div border color is #D12B7F.


Opacity

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

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

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

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

This text has shadow with #D12B7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D12B7F on black background.


Color preview on white background

This text has color #D12B7F on white background.



Black color preview on #D12B7F background

This text has black color on #D12B7F background.


White color preview on #D12B7F background

This text has white color on #D12B7F background.