HEX Color Conversion

Hex Color Code #D941D8 — RGB & HSL Conversions

How to use the #D941D8 color code in HTML & CSS?

To apply the hex color #D941D8 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #D941D8; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #D941D8; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#D941D8].

What are the RGB and HSL conversion values for #D941D8?

In the digital sRGB color space, the hex value #D941D8 is converted to RGB values of Red: 217, Green: 65, and Blue: 216. When analyzed under the HSL model, its coordinates correspond to hue angle 300°, 67% saturation, and 55% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #D941D8

When converting #D941D8 for CMYK printing, the color separation consists of 0% Cyan, 70% Magenta, 0% Yellow, and 15% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 217
Green Channel 65
Blue Channel 216
Luminance 0.235

HEX #D941D8 Color Space Conversions

Click to copy format
HEX Color Code #D941D8
RGB (Red Green Blue) rgb(217, 65, 216)
HSL (Hue Sat Light) hsl(300°, 67%, 55%)
CMYK (Commercial Print) cmyk(0%, 70%, 0%, 15%)
HSV / HSB Values hsv(300°, 70%, 85%)
Decimal Color Code 14238168
CSS Custom Variable --color-hex: #D941D8;
Tailwind CSS Utility bg-[#D941D8]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D941D8

Small body copy preview

Black Text on Background

Black text readability test with #D941D8

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #D941D8 */
--color-hex: #D941D8;
--color-rgb: rgb(217, 65, 216);
--color-hsl: hsl(300deg, 67%, 55%);

Adjacent HEX Color Codes

Copied!