What is hex #CD308B color?

 
The hex code #CD308B is closest to the named color Deep Cerise (#DA3287).
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, 19% green and 55% blue, resulting in rgb(205, 48, 139) and hsl(325, 62%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 77%, 32%, 20%).
In the HSV/HSB scale, #CD308B features a hue of 325°, 77% saturation, and 80% brightness.

Hex #CD308B Color Codes & Conversions

Closest Named Color
Deep Cerise (#DA3287)
Hex Code #CD308B
Hex8 (RGBA Hex) #CD308BFF
RGB (CSS) rgb(205, 48, 139)
RGBA (CSS) rgba(205, 48, 139, 1)
HSL (CSS) hsl(325, 62%, 50%)
HSLA (CSS) hsla(325, 62%, 50%, 1)
HSV / HSB (325°, 77%, 80%)
CMYK Values (0%, 77%, 32%, 20%)
OKLCH (Modern CSS) oklch(58.1% 0.208 350.3)
CIE-LAB (D65) 48.21, 67.02, -13.48
CIE XYZ 30.90, 16.96, 26.07
Decimal / Binary 13447307
11001101 00110000 10001011

Closest Standards & Equivalents

Closest Web Safe
#CC3399
Inverse Color
#32CF74
Complementary Color
#30CD72
Closest Pantone®
Pantone 240 C
Closest RAL
RAL 4010 [Telemagenta]

#CD308B Grayscale Equivalents

Average
#838383
Lightness (Desaturation)
#7F7F7F
Weighted (BT601)
#696969 [Dim Grey]
Luma (BT709)
#585858

WCAG 2.1 Color Contrast & Accessibility

Check how #CD308B 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 #CD308B

Sample preview of readable typography on top of #CD308B.

Contrast Ratio: 4.78:1
AA Pass AAA Fail

Black Text on #CD308B

Sample preview of readable typography on top of #CD308B.

Contrast Ratio: 4.39:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #CD308B

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

Background Preview
background-color: #CD308B;
Typography Color Preview
color: #CD308B;
Border & Shadow Preview
border: 2px solid #CD308B;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CD308B;
  --color-primary-rgb: 205, 48, 139;
  --color-complementary: #30CD72;
}
.btn-accent {
  background-color: #CD308B;
  color: #ffffff;
}

Hex #CD308B Color Palettes

Complementary Palette

The complementary color of #CD308B is #30CD72. 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 #CD308B pairs with #C030CD and #CD303C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CD308B pairs with #30CDC0 and #3CCD30, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CD308B uses #308BCD and #8BCD30, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CD308B combines #8BCD30, #30CD72 and #7230CD around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CD308B pairs with #CDC030, #30CD72 and #303CCD spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CD308B

Tints

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

Tones

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

Shades

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

Hex #CD308B in Programming & CSS Frameworks

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

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