Hex Color Code #D1938C — RGB & HSL Conversions
How to use the #D1938C color code in HTML & CSS?
To apply the hex color #D1938C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #D1938C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #D1938C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#D1938C].
What are the RGB and HSL conversion values for #D1938C?
In the digital sRGB color space, the hex value #D1938C is converted to RGB values of Red: 209, Green: 147, and Blue: 140. When analyzed under the HSL model, its coordinates correspond to hue angle 6°, 43% saturation, and 68% lightness. This makes it visually a bright, soft tint with a balanced, moderate saturation.
CMYK print code settings for #D1938C
When converting #D1938C for CMYK printing, the color separation consists of 0% Cyan, 30% Magenta, 33% Yellow, and 18% key/black. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.
HEX #D1938C Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #D1938C
Small body copy preview
Black text readability test with #D1938C
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #D1938C;
--color-rgb: rgb(209, 147, 140);
--color-hsl: hsl(6deg, 43%, 68%);