What is hex #C400A3 color?

 
The hex code #C400A3 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 64% blue, resulting in rgb(196, 0, 163) and hsl(310, 100%, 38%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 17%, 23%).
In the HSV/HSB scale, #C400A3 features a hue of 310°, 100% saturation, and 77% brightness.

Hex #C400A3 Color Codes & Conversions

Closest Named Color
Medium Violet Red (#C71585)
Hex Code #C400A3
Hex8 (RGBA Hex) #C400A3FF
RGB (CSS) rgb(196, 0, 163)
RGBA (CSS) rgba(196, 0, 163, 1)
HSL (CSS) hsl(310, 100%, 38%)
HSLA (CSS) hsla(310, 100%, 38%, 1)
HSV / HSB (310°, 100%, 77%)
CMYK Values (0%, 100%, 17%, 23%)
OKLCH (Modern CSS) oklch(55.7% 0.244 338.1)
CIE-LAB (D65) 44.78, 76.09, -33.34
CIE XYZ 29.38, 14.38, 35.87
Decimal / Binary 12845219
11000100 00000000 10100011

Closest Standards & Equivalents

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

#C400A3 Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #C400A3.

Contrast Ratio: 5.42:1
AA Pass AAA Fail

Black Text on #C400A3

Sample preview of readable typography on top of #C400A3.

Contrast Ratio: 3.88:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #C400A3

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

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

Hex #C400A3 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #C400A3 pairs with #00C483 and #41C400, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #C400A3 uses #00A3C4 and #A3C400, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #C400A3 combines #A3C400, #00C421 and #2100C4 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #C400A3 pairs with #C48300, #00C421 and #0041C4 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #C400A3

Tints

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

Tones

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

Shades

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

Hex #C400A3 in Programming & CSS Frameworks

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

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