HEX Color Conversion

Hex Color Code #F5AAFA — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #F5AAFA is converted to RGB values of Red: 245, Green: 170, 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 #F5AAFA

When converting #F5AAFA for CMYK printing, the color separation consists of 2% Cyan, 32% 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 170
Blue Channel 250
Luminance 0.551

HEX #F5AAFA Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5AAFA

Small body copy preview

Black Text on Background

Black text readability test with #F5AAFA

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

Adjacent HEX Color Codes

Copied!