HEX Color Conversion

Hex Color Code #F006FF — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #F006FF is converted to RGB values of Red: 240, Green: 6, and Blue: 255. When analyzed under the HSL model, its coordinates correspond to hue angle 296°, 100% saturation, and 51% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F006FF

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

Red Channel 240
Green Channel 6
Blue Channel 255
Luminance 0.259

HEX #F006FF Color Space Conversions

Click to copy format
HEX Color Code #F006FF
RGB (Red Green Blue) rgb(240, 6, 255)
HSL (Hue Sat Light) hsl(296°, 100%, 51%)
CMYK (Commercial Print) cmyk(6%, 98%, 0%, 0%)
HSV / HSB Values hsv(296°, 98%, 100%)
Decimal Color Code 15730431
CSS Custom Variable --color-hex: #F006FF;
Tailwind CSS Utility bg-[#F006FF]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F006FF

Small body copy preview

Black Text on Background

Black text readability test with #F006FF

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 #F006FF */
--color-hex: #F006FF;
--color-rgb: rgb(240, 6, 255);
--color-hsl: hsl(296deg, 100%, 51%);

Adjacent HEX Color Codes

Copied!