HEX Color Conversion

Hex Color Code #DD40DC — RGB & HSL Conversions

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

For developers, implementing the #DD40DC color code involves declaring it in your styles. In stylesheet designs, use color: #DD40DC; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#DD40DC] or custom configure it in your theme files.

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

The RGB code for #DD40DC is computed as rgb(221, 64, 220). Web designers using HSL values will find it at a hue of 300°, saturation of 70%, and lightness index of 56%, representing a balanced, moderate saturation.

CMYK print code settings for #DD40DC

For print design setups, the CMYK values for the #DD40DC color code are Cyan: 0%, Magenta: 71%, Yellow: 0%, and Black: 13%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 221
Green Channel 64
Blue Channel 220
Luminance 0.242

HEX #DD40DC Color Space Conversions

Click to copy format
HEX Color Code #DD40DC
RGB (Red Green Blue) rgb(221, 64, 220)
HSL (Hue Sat Light) hsl(300°, 70%, 56%)
CMYK (Commercial Print) cmyk(0%, 71%, 0%, 13%)
HSV / HSB Values hsv(300°, 71%, 87%)
Decimal Color Code 14500060
CSS Custom Variable --color-hex: #DD40DC;
Tailwind CSS Utility bg-[#DD40DC]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DD40DC

Small body copy preview

Black Text on Background

Black text readability test with #DD40DC

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 #DD40DC */
--color-hex: #DD40DC;
--color-rgb: rgb(221, 64, 220);
--color-hsl: hsl(300deg, 70%, 56%);

Adjacent HEX Color Codes

Copied!