HEX Color Conversion

Hex Color Code #F5F1F5 — RGB & HSL Conversions

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

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

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

The RGB code for #F5F1F5 is computed as rgb(245, 241, 245). Web designers using HSL values will find it at a hue of 300°, saturation of 17%, and lightness index of 95%, representing a soft, understated pastel shade.

CMYK print code settings for #F5F1F5

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

Red Channel 245
Green Channel 241
Blue Channel 245
Luminance 0.889

HEX #F5F1F5 Color Space Conversions

Click to copy format
HEX Color Code #F5F1F5
RGB (Red Green Blue) rgb(245, 241, 245)
HSL (Hue Sat Light) hsl(300°, 17%, 95%)
CMYK (Commercial Print) cmyk(0%, 2%, 0%, 4%)
HSV / HSB Values hsv(300°, 2%, 96%)
Decimal Color Code 16118261
CSS Custom Variable --color-hex: #F5F1F5;
Tailwind CSS Utility bg-[#F5F1F5]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5F1F5

Small body copy preview

Black Text on Background

Black text readability test with #F5F1F5

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 #F5F1F5 */
--color-hex: #F5F1F5;
--color-rgb: rgb(245, 241, 245);
--color-hsl: hsl(300deg, 17%, 95%);

Adjacent HEX Color Codes

Copied!