What is hex #D400A1 color?

 
The hex code #D400A1 is closest to the named color Fashion Fuchsia (#F400A1).
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 83% red, 0% green and 63% blue, resulting in rgb(212, 0, 161) and hsl(314, 100%, 42%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 24%, 17%).
In the HSV/HSB scale, #D400A1 features a hue of 314°, 100% saturation, and 83% brightness.

Hex #D400A1 Color Codes & Conversions

Closest Named Color
Fashion Fuchsia (#F400A1)
Hex Code #D400A1
Hex8 (RGBA Hex) #D400A1FF
RGB (CSS) rgb(212, 0, 161)
RGBA (CSS) rgba(212, 0, 161, 1)
HSL (CSS) hsl(314, 100%, 42%)
HSLA (CSS) hsla(314, 100%, 42%, 1)
HSV / HSB (314°, 100%, 83%)
CMYK Values (0%, 100%, 24%, 17%)
OKLCH (Modern CSS) oklch(58.3% 0.250 342.9)
CIE-LAB (D65) 47.72, 78.84, -27.33
CIE XYZ 33.59, 16.57, 35.14
Decimal / Binary 13893793
11010100 00000000 10100001

Closest Standards & Equivalents

Closest Web Safe
#CC0099
Inverse Color
#2BFF5E
Complementary Color
#00D433
Closest Pantone®
Pantone 2395 C
Closest RAL
RAL 4010 [Telemagenta]

#D400A1 Grayscale Equivalents

Average
#7C7C7C
Lightness (Desaturation)
#6A6A6A
Weighted (BT601)
#525252
Luma (BT709)
#393939

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #D400A1.

Contrast Ratio: 4.87:1
AA Pass AAA Fail

Black Text on #D400A1

Sample preview of readable typography on top of #D400A1.

Contrast Ratio: 4.31:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #D400A1

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

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

Hex #D400A1 Color Palettes

Complementary Palette

The complementary color of #D400A1 is #00D433. 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 #D400A1 pairs with #9D00D4 and #D40037, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D400A1 pairs with #00D49D and #37D400, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D400A1 uses #00A1D4 and #A1D400, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D400A1 combines #A1D400, #00D433 and #3300D4 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D400A1 pairs with #D49D00, #00D433 and #0037D4 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D400A1

Tints

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

Tones

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

Shades

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

Hex #D400A1 in Programming & CSS Frameworks

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

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