HEX Color Conversion

Hex Color Code #DD42DC — RGB & HSL Conversions

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

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

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

The RGB code for #DD42DC is computed as rgb(221, 66, 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 #DD42DC

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

Red Channel 221
Green Channel 66
Blue Channel 220
Luminance 0.244

HEX #DD42DC Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DD42DC

Small body copy preview

Black Text on Background

Black text readability test with #DD42DC

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

Adjacent HEX Color Codes

Copied!