HEX Color Conversion

Hex Color Code #FF0CFF — RGB & HSL Conversions

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

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

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

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

CMYK print code settings for #FF0CFF

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

Red Channel 255
Green Channel 12
Blue Channel 255
Luminance 0.287

HEX #FF0CFF Color Space Conversions

Click to copy format
HEX Color Code #FF0CFF
RGB (Red Green Blue) rgb(255, 12, 255)
HSL (Hue Sat Light) hsl(300°, 100%, 52%)
CMYK (Commercial Print) cmyk(0%, 95%, 0%, 0%)
HSV / HSB Values hsv(300°, 95%, 100%)
Decimal Color Code 16715007
CSS Custom Variable --color-hex: #FF0CFF;
Tailwind CSS Utility bg-[#FF0CFF]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FF0CFF

Small body copy preview

Black Text on Background

Black text readability test with #FF0CFF

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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 #FF0CFF */
--color-hex: #FF0CFF;
--color-rgb: rgb(255, 12, 255);
--color-hsl: hsl(300deg, 100%, 52%);

Adjacent HEX Color Codes

Copied!