HEX Color Conversion

Hex Color Code #DB4FD6 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #DB4FD6 is converted to RGB values of Red: 219, Green: 79, and Blue: 214. When analyzed under the HSL model, its coordinates correspond to hue angle 302°, 66% saturation, and 58% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #DB4FD6

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

Red Channel 219
Green Channel 79
Blue Channel 214
Luminance 0.255

HEX #DB4FD6 Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DB4FD6

Small body copy preview

Black Text on Background

Black text readability test with #DB4FD6

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 #DB4FD6 */
--color-hex: #DB4FD6;
--color-rgb: rgb(219, 79, 214);
--color-hsl: hsl(302deg, 66%, 58%);

Adjacent HEX Color Codes

Copied!