HEX Color Conversion

Hex Color Code #F5A6FA — RGB & HSL Conversions

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

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

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

The RGB code for #F5A6FA is computed as rgb(245, 166, 250). Web designers using HSL values will find it at a hue of 296°, saturation of 89%, and lightness index of 82%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F5A6FA

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

Red Channel 245
Green Channel 166
Blue Channel 250
Luminance 0.536

HEX #F5A6FA Color Space Conversions

Click to copy format
HEX Color Code #F5A6FA
RGB (Red Green Blue) rgb(245, 166, 250)
HSL (Hue Sat Light) hsl(296°, 89%, 82%)
CMYK (Commercial Print) cmyk(2%, 34%, 0%, 2%)
HSV / HSB Values hsv(296°, 34%, 98%)
Decimal Color Code 16099066
CSS Custom Variable --color-hex: #F5A6FA;
Tailwind CSS Utility bg-[#F5A6FA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5A6FA

Small body copy preview

Black Text on Background

Black text readability test with #F5A6FA

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 #F5A6FA */
--color-hex: #F5A6FA;
--color-rgb: rgb(245, 166, 250);
--color-hsl: hsl(296deg, 89%, 82%);

Adjacent HEX Color Codes

Copied!