Hex Color Code #D40ED3 — RGB & HSL Conversions
How to use the #D40ED3 color code in HTML & CSS?
To apply the hex color #D40ED3 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #D40ED3; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #D40ED3; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#D40ED3].
What are the RGB and HSL conversion values for #D40ED3?
In the digital sRGB color space, the hex value #D40ED3 is converted to RGB values of Red: 212, Green: 14, and Blue: 211. When analyzed under the HSL model, its coordinates correspond to hue angle 300°, 88% saturation, and 44% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.
CMYK print code settings for #D40ED3
When converting #D40ED3 for CMYK printing, the color separation consists of 0% Cyan, 93% Magenta, 0% Yellow, and 17% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #D40ED3 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #D40ED3
Small body copy preview
Black text readability test with #D40ED3
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #D40ED3;
--color-rgb: rgb(212, 14, 211);
--color-hsl: hsl(300deg, 88%, 44%);