Hex Color Code #D902D8 — RGB & HSL Conversions
How to use the #D902D8 color code in HTML & CSS?
For developers, implementing the #D902D8 color code involves declaring it in your styles. In stylesheet designs, use color: #D902D8; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#D902D8] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #D902D8?
The RGB code for #D902D8 is computed as rgb(217, 2, 216). Web designers using HSL values will find it at a hue of 300°, saturation of 98%, and lightness index of 43%, representing a highly vivid, intense, and brilliant shade.
CMYK print code settings for #D902D8
For print design setups, the CMYK values for the #D902D8 color code are Cyan: 0%, Magenta: 99%, Yellow: 0%, and Black: 15%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #D902D8 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #D902D8
Small body copy preview
Black text readability test with #D902D8
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: #D902D8;
--color-rgb: rgb(217, 2, 216);
--color-hsl: hsl(300deg, 98%, 43%);