HEX Color Conversion

Hex Color Code #D9C2D8 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #D9C2D8 is converted to RGB values of Red: 217, Green: 194, and Blue: 216. When analyzed under the HSL model, its coordinates correspond to hue angle 303°, 23% saturation, and 81% lightness. This makes it visually a bright, soft tint with a soft, understated pastel shade.

CMYK print code settings for #D9C2D8

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

Red Channel 217
Green Channel 194
Blue Channel 216
Luminance 0.583

HEX #D9C2D8 Color Space Conversions

Click to copy format
HEX Color Code #D9C2D8
RGB (Red Green Blue) rgb(217, 194, 216)
HSL (Hue Sat Light) hsl(303°, 23%, 81%)
CMYK (Commercial Print) cmyk(0%, 11%, 0%, 15%)
HSV / HSB Values hsv(303°, 11%, 85%)
Decimal Color Code 14271192
CSS Custom Variable --color-hex: #D9C2D8;
Tailwind CSS Utility bg-[#D9C2D8]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D9C2D8

Small body copy preview

Black Text on Background

Black text readability test with #D9C2D8

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 #D9C2D8 */
--color-hex: #D9C2D8;
--color-rgb: rgb(217, 194, 216);
--color-hsl: hsl(303deg, 23%, 81%);

Adjacent HEX Color Codes

Copied!