Color: #C0158C

#C0158C Color Information

#C0158C is a dark color. The closest websafe version is #C0158C. A complement of this color would be #15C149, perceived brightness is 0.34, and the grayscale version is #6B6B6B.

In the HSL color space, this color has a hue angle of 318°,a saturation of 80%, and a lightness of 42%.The HSV representation shows a hue of 318°, a saturation of 89%, and a value of 75%.

In a RGB color space, #C0158C is composed of 75% red, 8% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 89% magenta, 27% yellow and 25% black.

In the Yxy color space, this color is represented as Y: 13.86, x: 0.4473, and y: 0.2294.

Color Code #C0158C

#C0158Crgb(192, 21, 140)
HEX
#C0158C
RGB
rgb(192, 21, 140)
HSL
hsl(318, 80%, 42%)
HSV
hsv(318, 89%, 75%)
CMYK
0%, 89%, 27%, 25%
XYZ
X: 27.03, Y: 13.86, Z: 19.54
Lab
L: 44.03, a: 68.49, b: -20.23
Name

Shades of Color #C0158C

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

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

#C0158Crgb(192, 21, 140)

About #C0158C Color Code

In the HSL color space, this color has a hue angle of 318°, a saturation of 80%, and a lightness of 42%. The HSV representation shows a hue of 318°, a saturation of 89%, and a value of 75%.

  • HEX: #C0158C
  • RGB: rgb(192, 21, 140)
  • HSL: hsl(318, 80%, 42%)
  • HSV: hsv(318, 89%, 75%)
  • CMYK: 0.00% cyan, 89.00% magenta, 27.00% yellow, 25.00% black
  • XYZ: 27.03, 13.86, 19.54
  • Yxy: 13.86, 0.4473, 0.2294
  • Hunter Lab: 44.03, 68.49, -20.23
  • CIE-Lab: 44.03, 68.49, -20.23

In the XYZ color space, this color is represented as X: 27.03, Y: 13.86, Z: 19.54. The Yxy representation further refines this as Y: 13.86, x: 0.4473, and y: 0.2294.

In the Hunter Lab color space, this color is represented as L: 44.03, a: 68.49, and b: -20.23. Similarly, in the CIE-Lab color space, it is represented as L: 44.03, a: 68.49, and b: -20.23.

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

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

Analogous Colors of #C0158C

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

Split Complementary Colors of #C0158C

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

Tetradic Colors of #C0158C

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

Monochromatic Colors of #C0158C

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

Complementary Color of #C0158C

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

/* Using HEX */
body {
  background-color: #c0158c;
}
/* Using RGB */
body {
  background-color: rgb(192, 21, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(192, 21, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(318, 80%, 42%);
}
/* Text color */
p {
  color: #c0158c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #c0158c;
}
/* Border color */
.box {
  border: 4px solid #c0158c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #c0158c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #c0158c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#C0158C
On Black Background
#C0158C
On White Background
#C0158C

HTML Examples of #C0158C

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

Related Colors of #C0158C

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