HEX Color Conversion

Hex Color Code #DB2CD6 — RGB & HSL Conversions

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

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

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

The RGB code for #DB2CD6 is computed as rgb(219, 44, 214). Web designers using HSL values will find it at a hue of 302°, saturation of 71%, and lightness index of 52%, representing a balanced, moderate saturation.

CMYK print code settings for #DB2CD6

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

Red Channel 219
Green Channel 44
Blue Channel 214
Luminance 0.217

HEX #DB2CD6 Color Space Conversions

Click to copy format
HEX Color Code #DB2CD6
RGB (Red Green Blue) rgb(219, 44, 214)
HSL (Hue Sat Light) hsl(302°, 71%, 52%)
CMYK (Commercial Print) cmyk(0%, 80%, 2%, 14%)
HSV / HSB Values hsv(302°, 80%, 86%)
Decimal Color Code 14363862
CSS Custom Variable --color-hex: #DB2CD6;
Tailwind CSS Utility bg-[#DB2CD6]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DB2CD6

Small body copy preview

Black Text on Background

Black text readability test with #DB2CD6

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 #DB2CD6 */
--color-hex: #DB2CD6;
--color-rgb: rgb(219, 44, 214);
--color-hsl: hsl(302deg, 71%, 52%);

Adjacent HEX Color Codes

Copied!