Color: #D7118C

#D7118C Color Information

#D7118C is a dark color. The closest websafe version is #D7118C. A complement of this color would be #11D45C, perceived brightness is 0.35, and the grayscale version is #747474.

In the HSL color space, this color has a hue angle of 323°,a saturation of 85%, and a lightness of 45%.The HSV representation shows a hue of 323°, a saturation of 92%, and a value of 84%.

In a RGB color space, #D7118C is composed of 84% red, 7% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 92% magenta, 35% yellow and 16% black.

In the Yxy color space, this color is represented as Y: 17.11, x: 0.4770, and y: 0.2429.

Color Code #D7118C

#D7118Crgb(215, 17, 140)
HEX
#D7118C
RGB
rgb(215, 17, 140)
HSL
hsl(323, 85%, 45%)
HSV
hsv(323, 92%, 84%)
CMYK
0%, 92%, 35%, 16%
XYZ
X: 33.60, Y: 17.11, Z: 19.73
Lab
L: 48.40, a: 74.27, b: -13.10
Name

Shades of Color #D7118C

Shades are created by darkening the original color #D7118C in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #D7118C

Tints are created by lightening the original color #D7118C in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#D7118Crgb(215, 17, 140)

About #D7118C Color Code

In the HSL color space, this color has a hue angle of 323°, a saturation of 85%, and a lightness of 45%. The HSV representation shows a hue of 323°, a saturation of 92%, and a value of 84%.

  • HEX: #D7118C
  • RGB: rgb(215, 17, 140)
  • HSL: hsl(323, 85%, 45%)
  • HSV: hsv(323, 92%, 84%)
  • CMYK: 0.00% cyan, 92.00% magenta, 35.00% yellow, 16.00% black
  • XYZ: 33.60, 17.11, 19.73
  • Yxy: 17.11, 0.4770, 0.2429
  • Hunter Lab: 48.40, 74.27, -13.10
  • CIE-Lab: 48.40, 74.27, -13.10

In the XYZ color space, this color is represented as X: 33.60, Y: 17.11, Z: 19.73. The Yxy representation further refines this as Y: 17.11, x: 0.4770, and y: 0.2429.

In the Hunter Lab color space, this color is represented as L: 48.40, a: 74.27, and b: -13.10. Similarly, in the CIE-Lab color space, it is represented as L: 48.40, a: 74.27, and b: -13.10.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #D7118C

Triadic colors are three colors evenly spaced around the color wheel, including #D7118C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #D7118C

Analogous colors are adjacent to #D7118C on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #D7118C

Split complementary colors are two colors adjacent to the complementary color of #D7118C. They create a balanced and visually appealing color scheme.

Tetradic Colors of #D7118C

Tetradic colors form a rectangle on the color wheel, including #D7118C. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #D7118C

Monochromatic colors are variations of #D7118C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #D7118C

The complementary color of #D7118C is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #D7118C

/* Using HEX */
body {
  background-color: #d7118c;
}
/* Using RGB */
body {
  background-color: rgb(215, 17, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(215, 17, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(323, 85%, 45%);
}
/* Text color */
p {
  color: #d7118c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d7118c;
}
/* Border color */
.box {
  border: 4px solid #d7118c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d7118c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d7118c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D7118C
On Black Background
#D7118C
On White Background
#D7118C

HTML Examples of #D7118C

<!-- Using HEX -->
<div style="background-color: #d7118c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(215, 17, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(215, 17, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(323, 85%, 45%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #d7118c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #d7118c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #d7118c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #d7118c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #d7118c; color: #fff; padding: 16px; border-radius: 8px;">
  #D7118C
</div>
#D7118C
On Black Background
#D7118C
On White Background
#D7118C

Related Colors of #D7118C

These colors are similar to #D7118C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.