Hex Color Code #FF42B4 — RGB & HSL Conversions
How to use the #FF42B4 color code in HTML & CSS?
To apply the hex color #FF42B4 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #FF42B4; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #FF42B4; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#FF42B4].
What are the RGB and HSL conversion values for #FF42B4?
In the digital sRGB color space, the hex value #FF42B4 is converted to RGB values of Red: 255, Green: 66, and Blue: 180. When analyzed under the HSL model, its coordinates correspond to hue angle 324°, 100% saturation, and 63% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.
CMYK print code settings for #FF42B4
When converting #FF42B4 for CMYK printing, the color separation consists of 0% Cyan, 74% Magenta, 29% Yellow, and 0% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #FF42B4 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #FF42B4
Small body copy preview
Black text readability test with #FF42B4
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #FF42B4;
--color-rgb: rgb(255, 66, 180);
--color-hsl: hsl(324deg, 100%, 63%);