Color: #CB158D

#CB158D Color Information

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

In the HSL color space, this color has a hue angle of 320°,a saturation of 81%, and a lightness of 44%.The HSV representation shows a hue of 320°, a saturation of 90%, and a value of 80%.

In a RGB color space, #CB158D is composed of 80% red, 8% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 90% magenta, 31% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 15.44, x: 0.4601, and y: 0.2357.

Color Code #CB158D

#CB158Drgb(203, 21, 141)
HEX
#CB158D
RGB
rgb(203, 21, 141)
HSL
hsl(320, 81%, 44%)
HSV
hsv(320, 90%, 80%)
CMYK
0%, 90%, 31%, 20%
XYZ
X: 30.14, Y: 15.44, Z: 19.93
Lab
L: 46.23, a: 71.10, b: -17.25
Name

Shades of Color #CB158D

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

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

#CB158Drgb(203, 21, 141)

About #CB158D Color Code

In the HSL color space, this color has a hue angle of 320°, a saturation of 81%, and a lightness of 44%. The HSV representation shows a hue of 320°, a saturation of 90%, and a value of 80%.

  • HEX: #CB158D
  • RGB: rgb(203, 21, 141)
  • HSL: hsl(320, 81%, 44%)
  • HSV: hsv(320, 90%, 80%)
  • CMYK: 0.00% cyan, 90.00% magenta, 31.00% yellow, 20.00% black
  • XYZ: 30.14, 15.44, 19.93
  • Yxy: 15.44, 0.4601, 0.2357
  • Hunter Lab: 46.23, 71.10, -17.25
  • CIE-Lab: 46.23, 71.10, -17.25

In the XYZ color space, this color is represented as X: 30.14, Y: 15.44, Z: 19.93. The Yxy representation further refines this as Y: 15.44, x: 0.4601, and y: 0.2357.

In the Hunter Lab color space, this color is represented as L: 46.23, a: 71.10, and b: -17.25. Similarly, in the CIE-Lab color space, it is represented as L: 46.23, a: 71.10, and b: -17.25.

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

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

Analogous Colors of #CB158D

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

Split Complementary Colors of #CB158D

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

Tetradic Colors of #CB158D

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

Monochromatic Colors of #CB158D

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

Complementary Color of #CB158D

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

/* Using HEX */
body {
  background-color: #cb158d;
}
/* Using RGB */
body {
  background-color: rgb(203, 21, 141);
}
/* Using RGB with opacity */
body {
  background-color: rgba(203, 21, 141, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(320, 81%, 44%);
}
/* Text color */
p {
  color: #cb158d;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cb158d;
}
/* Border color */
.box {
  border: 4px solid #cb158d;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cb158d;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cb158d;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CB158D
On Black Background
#CB158D
On White Background
#CB158D

HTML Examples of #CB158D

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

Related Colors of #CB158D

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