HEX Color Conversion

Hex Color Code #F5A7FA — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #F5A7FA is converted to RGB values of Red: 245, Green: 167, and Blue: 250. When analyzed under the HSL model, its coordinates correspond to hue angle 296°, 89% saturation, and 82% lightness. This makes it visually a bright, soft tint with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F5A7FA

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

Red Channel 245
Green Channel 167
Blue Channel 250
Luminance 0.540

HEX #F5A7FA Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5A7FA

Small body copy preview

Black Text on Background

Black text readability test with #F5A7FA

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

Adjacent HEX Color Codes

Copied!