Color: #D5157C

#D5157C Color Information

#D5157C is a dark color. The closest websafe version is #D5157C. A complement of this color would be #15D56F, perceived brightness is 0.35, and the grayscale version is #757575.

In the HSL color space, this color has a hue angle of 328°,a saturation of 82%, and a lightness of 46%.The HSV representation shows a hue of 328°, a saturation of 100%, and a value of 100%.

In a RGB color space, #D5157C is composed of 84% red, 8% green and 49% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 90% magenta, 42% yellow and 16% black.

In the Yxy color space, this color is represented as Y: 16.56, x: 0.5019, and y: 0.2582.

Color Code #D5157C

HEX
#D5157C
RGB
rgb(213, 21, 124)
HSL
hsl(328, 82%, 46%)
HSV
hsv(328, 90%, 84%)
CMYK
0%, 90%, 42%, 16%
XYZ
X: 32.19, Y: 16.56, Z: 15.39
Lab
L: 47.71, a: 72.26, b: -4.44
Name

Shades of Color #D5157C

Shades are created by darkening the original color #D5157C 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 #D5157C

Tints are created by lightening the original color #D5157C 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.

About #D5157C Color Code

In the HSL color space, this color has a hue angle of 328°, a saturation of 82%, and a lightness of 46%. The HSV representation shows a hue of 328°, a saturation of 90%, and a value of 84%.

  • HEX: #D5157C
  • RGB: rgb(213, 21, 124)
  • HSL: hsl(328, 82%, 46%)
  • HSV: hsv(328, 90%, 84%)
  • CMYK: 0.00% cyan, 90.00% magenta, 42.00% yellow, 16.00% black
  • XYZ: 32.19, 16.56, 15.39
  • Yxy: 16.56, 0.5019, 0.2582
  • Hunter Lab: 47.71, 72.26, -4.44
  • CIE-Lab: 47.71, 72.26, -4.44

In the XYZ color space, this color is represented as X: 32.19, Y: 16.56, Z: 15.39. The Yxy representation further refines this as Y: 16.56, x: 0.5019, and y: 0.2582.

In the Hunter Lab color space, this color is represented as L: 47.71, a: 72.26, and b: -4.44. Similarly, in the CIE-Lab color space, it is represented as L: 47.71, a: 72.26, and b: -4.44.

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 #D5157C

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

Analogous Colors of #D5157C

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

Monochromatic Colors of #D5157C

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

Complementary Color of #D5157C

The complementary color of #D5157C 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 #D5157C

/* Using HEX */
body {
  background-color: #d5157c;
}
/* Using RGB */
body {
  background-color: rgb(213, 21, 124);
}
/* Using RGB with opacity */
body {
  background-color: rgba(213, 21, 124, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(328, 82%, 46%);
}
/* Text color */
p {
  color: #d5157c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d5157c;
}

HTML Examples of #D5157C

<!-- Using HEX -->
<div style="background-color: #d5157c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(213, 21, 124); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(213, 21, 124, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(328, 82%, 46%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #d5157c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #d5157c; width: 100px; height: 100px;"></div>

Related Colors of #D5157C

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