Color: #DC21CC

#DC21CC Color Information

#DC21CC is a dark color. The closest websafe version is #DC21CC. A complement of this color would be #21DE31, perceived brightness is 0.43, and the grayscale version is #7F7F7F.

In the HSL color space, this color has a hue angle of 305°,a saturation of 74%, and a lightness of 50%.The HSV representation shows a hue of 305°, a saturation of 85%, and a value of 86%.

In a RGB color space, #DC21CC is composed of 86% red, 13% green and 80% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 85% magenta, 7% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 20.67, x: 0.3837, and y: 0.1962.

Color Code #DC21CC

#DC21CCrgb(220, 33, 204)
HEX
#DC21CC
RGB
rgb(220, 33, 204)
HSL
hsl(305, 74%, 50%)
HSV
hsv(305, 85%, 86%)
CMYK
0%, 85%, 7%, 14%
XYZ
X: 40.43, Y: 20.67, Z: 44.27
Lab
L: 52.59, a: 78.60, b: -44.25
Name

Shades of Color #DC21CC

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

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

#DC21CCrgb(220, 33, 204)

About #DC21CC Color Code

In the HSL color space, this color has a hue angle of 305°, a saturation of 74%, and a lightness of 50%. The HSV representation shows a hue of 305°, a saturation of 85%, and a value of 86%.

  • HEX: #DC21CC
  • RGB: rgb(220, 33, 204)
  • HSL: hsl(305, 74%, 50%)
  • HSV: hsv(305, 85%, 86%)
  • CMYK: 0.00% cyan, 85.00% magenta, 7.00% yellow, 14.00% black
  • XYZ: 40.43, 20.67, 44.27
  • Yxy: 20.67, 0.3837, 0.1962
  • Hunter Lab: 52.59, 78.60, -44.25
  • CIE-Lab: 52.59, 78.60, -44.25

In the XYZ color space, this color is represented as X: 40.43, Y: 20.67, Z: 44.27. The Yxy representation further refines this as Y: 20.67, x: 0.3837, and y: 0.1962.

In the Hunter Lab color space, this color is represented as L: 52.59, a: 78.60, and b: -44.25. Similarly, in the CIE-Lab color space, it is represented as L: 52.59, a: 78.60, and b: -44.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 #DC21CC

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

Analogous Colors of #DC21CC

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

Split Complementary Colors of #DC21CC

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

Tetradic Colors of #DC21CC

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

Monochromatic Colors of #DC21CC

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

Complementary Color of #DC21CC

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

/* Using HEX */
body {
  background-color: #dc21cc;
}
/* Using RGB */
body {
  background-color: rgb(220, 33, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(220, 33, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(305, 74%, 50%);
}
/* Text color */
p {
  color: #dc21cc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #dc21cc;
}
/* Border color */
.box {
  border: 4px solid #dc21cc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #dc21cc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #dc21cc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#DC21CC
On Black Background
#DC21CC
On White Background
#DC21CC

HTML Examples of #DC21CC

<!-- Using HEX -->
<div style="background-color: #dc21cc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(220, 33, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(220, 33, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(305, 74%, 50%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #dc21cc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #dc21cc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #dc21cc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #dc21cc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #dc21cc; color: #fff; padding: 16px; border-radius: 8px;">
  #DC21CC
</div>
#DC21CC
On Black Background
#DC21CC
On White Background
#DC21CC

Related Colors of #DC21CC

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