HEX Color Conversion

Hex Color Code #FF40FA — RGB & HSL Conversions

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

For developers, implementing the #FF40FA color code involves declaring it in your styles. In stylesheet designs, use color: #FF40FA; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#FF40FA] or custom configure it in your theme files.

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

The RGB code for #FF40FA is computed as rgb(255, 64, 250). Web designers using HSL values will find it at a hue of 302°, saturation of 100%, and lightness index of 63%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #FF40FA

For print design setups, the CMYK values for the #FF40FA color code are Cyan: 0%, Magenta: 75%, Yellow: 2%, and Black: 0%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 255
Green Channel 64
Blue Channel 250
Luminance 0.318

HEX #FF40FA Color Space Conversions

Click to copy format
HEX Color Code #FF40FA
RGB (Red Green Blue) rgb(255, 64, 250)
HSL (Hue Sat Light) hsl(302°, 100%, 63%)
CMYK (Commercial Print) cmyk(0%, 75%, 2%, 0%)
HSV / HSB Values hsv(302°, 75%, 100%)
Decimal Color Code 16728314
CSS Custom Variable --color-hex: #FF40FA;
Tailwind CSS Utility bg-[#FF40FA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FF40FA

Small body copy preview

Black Text on Background

Black text readability test with #FF40FA

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 #FF40FA */
--color-hex: #FF40FA;
--color-rgb: rgb(255, 64, 250);
--color-hsl: hsl(302deg, 100%, 63%);

Adjacent HEX Color Codes

Copied!