HEX Color Conversion

Hex Color Code #D32A8C — RGB & HSL Conversions

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

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

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

The RGB code for #D32A8C is computed as rgb(211, 42, 140). Web designers using HSL values will find it at a hue of 325°, saturation of 67%, and lightness index of 50%, representing a balanced, moderate saturation.

CMYK print code settings for #D32A8C

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

Red Channel 211
Green Channel 42
Blue Channel 140
Luminance 0.174

HEX #D32A8C Color Space Conversions

Click to copy format
HEX Color Code #D32A8C
RGB (Red Green Blue) rgb(211, 42, 140)
HSL (Hue Sat Light) hsl(325°, 67%, 50%)
CMYK (Commercial Print) cmyk(0%, 80%, 34%, 17%)
HSV / HSB Values hsv(325°, 80%, 83%)
Decimal Color Code 13838988
CSS Custom Variable --color-hex: #D32A8C;
Tailwind CSS Utility bg-[#D32A8C]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D32A8C

Small body copy preview

Black Text on Background

Black text readability test with #D32A8C

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 #D32A8C */
--color-hex: #D32A8C;
--color-rgb: rgb(211, 42, 140);
--color-hsl: hsl(325deg, 67%, 50%);

Adjacent HEX Color Codes

Copied!