What is hex #C400A0 color?

 
The hex code #C400A0 is closest to the named color Medium Violet Red (#C71585).
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 77% red, 0% green and 63% blue, resulting in rgb(196, 0, 160) and hsl(311, 100%, 38%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 18%, 23%).
In the HSV/HSB scale, #C400A0 features a hue of 311°, 100% saturation, and 77% brightness.

Hex #C400A0 Color Codes & Conversions

Closest Named Color
Medium Violet Red (#C71585)
Hex Code #C400A0
Hex8 (RGBA Hex) #C400A0FF
RGB (CSS) rgb(196, 0, 160)
RGBA (CSS) rgba(196, 0, 160, 1)
HSL (CSS) hsl(311, 100%, 38%)
HSLA (CSS) hsla(311, 100%, 38%, 1)
HSV / HSB (311°, 100%, 77%)
CMYK Values (0%, 100%, 18%, 23%)
OKLCH (Modern CSS) oklch(55.5% 0.242 339.1)
CIE-LAB (D65) 44.63, 75.71, -31.78
CIE XYZ 29.11, 14.28, 34.47
Decimal / Binary 12845216
11000100 00000000 10100000

Closest Standards & Equivalents

Closest Web Safe
#CC0099
Inverse Color
#3BFF5F
Complementary Color
#00C424
Closest Pantone®
Pantone 2395 C
Closest RAL
RAL 4010 [Telemagenta]

#C400A0 Grayscale Equivalents

Average
#777777
Lightness (Desaturation)
#626262
Weighted (BT601)
#4D4D4D
Luma (BT709)
#353535

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #C400A0.

Contrast Ratio: 5.45:1
AA Pass AAA Fail

Black Text on #C400A0

Sample preview of readable typography on top of #C400A0.

Contrast Ratio: 3.85:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #C400A0

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

Background Preview
background-color: #C400A0;
Typography Color Preview
color: #C400A0;
Border & Shadow Preview
border: 2px solid #C400A0;
CSS Custom Properties & Gradient
:root {
  --color-primary: #C400A0;
  --color-primary-rgb: 196, 0, 160;
  --color-complementary: #00C424;
}
.btn-accent {
  background-color: #C400A0;
  color: #ffffff;
}

Hex #C400A0 Color Palettes

Complementary Palette

The complementary color of #C400A0 is #00C424. 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 #C400A0 pairs with #8600C4 and #C4003E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #C400A0 pairs with #00C486 and #3EC400, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #C400A0 uses #00A0C4 and #A0C400, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #C400A0 combines #A0C400, #00C424 and #2400C4 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #C400A0 pairs with #C48600, #00C424 and #003EC4 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #C400A0

Tints

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

Tones

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

Shades

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

Hex #C400A0 in Programming & CSS Frameworks

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

HTML / CSS #C400A0
Tailwind CSS bg-[#C400A0] text-[#C400A0]
Java (AWT) new Color(196,0,160);
Python Color("#C400A0")
.NET (C#) Color.FromArgb(255, 196,0,160);
Swift / iOS UIColor(red: 0.77, green: 0, blue: 0.63, alpha: 1)
Kotlin / Android Color.rgb(196, 0, 160)