What is hex #CD18CD color?

 
The hex code #CD18CD is closest to the named color Deep Magenta (#CC00CC).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 80% red, 9% green and 80% blue, resulting in rgb(205, 24, 205) and hsl(300, 79%, 45%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 88%, 0%, 20%).
In the HSV/HSB scale, #CD18CD features a hue of 300°, 88% saturation, and 80% brightness.

Hex #CD18CD Color Codes & Conversions

Closest Named Color
Deep Magenta (#CC00CC)
Hex Code #CD18CD
Hex8 (RGBA Hex) #CD18CDFF
RGB (CSS) rgb(205, 24, 205)
RGBA (CSS) rgba(205, 24, 205, 1)
HSL (CSS) hsl(300, 79%, 45%)
HSLA (CSS) hsla(300, 79%, 45%, 1)
HSV / HSB (300°, 88%, 80%)
CMYK Values (0%, 88%, 0%, 20%)
OKLCH (Modern CSS) oklch(60.1% 0.266 328.3)
CIE-LAB (D65) 49.55, 80.97, -50.32
CIE XYZ 36.52, 18.04, 59.30
Decimal / Binary 13441229
11001101 00011000 11001101

Closest Standards & Equivalents

Closest Web Safe
#CC00CC [Deep Magenta]
Inverse Color
#32E732
Complementary Color
#18CD18
Closest Pantone®
Pantone 246 C
Closest RAL
RAL 4010 [Telemagenta]

#CD18CD Grayscale Equivalents

Average
#919191
Lightness (Desaturation)
#737373
Weighted (BT601)
#636363
Luma (BT709)
#4C4C4C

WCAG 2.1 Color Contrast & Accessibility

Check how #CD18CD complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #CD18CD

Sample preview of readable typography on top of #CD18CD.

Contrast Ratio: 4.56:1
AA Pass AAA Fail

Black Text on #CD18CD

Sample preview of readable typography on top of #CD18CD.

Contrast Ratio: 4.61:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #CD18CD

Preview #CD18CD in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #CD18CD;
Typography Color Preview
color: #CD18CD;
Border & Shadow Preview
border: 2px solid #CD18CD;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CD18CD;
  --color-primary-rgb: 205, 24, 205;
  --color-complementary: #18CD18;
}
.btn-accent {
  background-color: #CD18CD;
  color: #000000;
}

Hex #CD18CD Color Palettes

Complementary Palette

The complementary color of #CD18CD is #18CD18. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #CD18CD pairs with #7218CD and #CD1872, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CD18CD pairs with #18CD72 and #72CD18, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CD18CD uses #18CDCD and #CDCD18, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CD18CD combines #CDCD18, #18CD18 and #1818CD around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CD18CD pairs with #CD7218, #18CD18 and #1872CD spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CD18CD

Tints

Tints are created by mixing #CD18CD with white, producing lighter variations.

Tones

Tones are created by mixing #CD18CD with gray, softening saturation.

Shades

Shades result from mixing #CD18CD with black, creating deeper variations.

Hex #CD18CD in Programming & CSS Frameworks

Copy the exact syntax for #CD18CD in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #CD18CD
Tailwind CSS bg-[#CD18CD] text-[#CD18CD]
Java (AWT) new Color(205,24,205);
Python Color("#CD18CD")
.NET (C#) Color.FromArgb(255, 205,24,205);
Swift / iOS UIColor(red: 0.8, green: 0.09, blue: 0.8, alpha: 1)
Kotlin / Android Color.rgb(205, 24, 205)