HEX Color Conversion

Hex Color Code #F5AFDC — RGB & HSL Conversions

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

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

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

The RGB code for #F5AFDC is computed as rgb(245, 175, 220). Web designers using HSL values will find it at a hue of 321°, saturation of 78%, and lightness index of 82%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F5AFDC

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

Red Channel 245
Green Channel 175
Blue Channel 220
Luminance 0.552

HEX #F5AFDC Color Space Conversions

Click to copy format
HEX Color Code #F5AFDC
RGB (Red Green Blue) rgb(245, 175, 220)
HSL (Hue Sat Light) hsl(321°, 78%, 82%)
CMYK (Commercial Print) cmyk(0%, 29%, 10%, 4%)
HSV / HSB Values hsv(321°, 29%, 96%)
Decimal Color Code 16101340
CSS Custom Variable --color-hex: #F5AFDC;
Tailwind CSS Utility bg-[#F5AFDC]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5AFDC

Small body copy preview

Black Text on Background

Black text readability test with #F5AFDC

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 #F5AFDC */
--color-hex: #F5AFDC;
--color-rgb: rgb(245, 175, 220);
--color-hsl: hsl(321deg, 78%, 82%);

Adjacent HEX Color Codes

Copied!