WhiteSmoke Color — HEX, RGB, HSL, Palettes & Contrast

WhiteSmoke (#f5f5f5): Complete color reference with HEX, RGB, HSL values, tints & shades, complementary, analogous, triadic, split-complementary, and tetradic palettes, WCAG contrast recommendations, and ready-to-use CSS code.

#f5f5f5
HEX #f5f5f5
RGB rgb(245, 245, 245)
HSL 0°, 0%, 96%

Use WhiteSmoke in Your Projects

About WhiteSmoke Color

WhiteSmoke is a very light gray-white that provides a soft, neutral backdrop. It is one of the most common background colors in modern web design.

Use Cases for WhiteSmoke

modern backgroundscard backdropscode editorsclean UIsubtle separators

Shades & Tints of WhiteSmoke

#ffffff
#fdfdfd
#fafafa
#f8f8f8
#f5f5f5
#b8b8b8
#7b7b7b
#3d3d3d
#000000

Complementary Color

#f5f5f5
#f5f5f5

Analogous Colors

#f5f5f5
#f5f5f5
#f5f5f5

Triadic Colors

#f5f5f5
#f5f5f5
#f5f5f5

Split Complementary

#f5f5f5
#f5f5f5
#f5f5f5

Tetradic Colors

#f5f5f5
#f5f5f5
#f5f5f5
#f5f5f5

CSS Code

.whitesmoke-color {
  color: #f5f5f5;
  background-color: #f5f5f5;
}

/* As a CSS custom property */
:root {
  --color-whitesmoke: #f5f5f5;
}

Accessibility Score

55 / 100
Rating: Fair
AA contrast on best text color (30 pts)
AAA contrast on best text color (25 pts)
Versatile lightness for backgrounds & text (25 pts)
Not extreme black/white (20 pts)

A combined score based on WCAG contrast compliance, lightness versatility, and usable range. Higher scores mean the color works well in more design contexts.

Contrast Recommendations

Black text on WhiteSmoke
Ratio: 19.26:1 ✓ Passes AA ✓ Passes AAA
White text on WhiteSmoke
Ratio: 1.09:1 ✗ Fails AA ✗ Fails AAA

Frequently Asked Questions

What color is WhiteSmoke?

WhiteSmoke is represented by the hex code #f5f5f5 and has RGB values of rgb(245, 245, 245). It falls under the White category.

How to use WhiteSmoke in web design?

WhiteSmoke works well for modern backgrounds, card backdrops, code editors. WhiteSmoke is a very light gray-white that provides a soft, neutral backdrop. It is one of the most common background colors in modern web design. Use it as a primary color, accent, or background depending on your design needs.

What colors go with WhiteSmoke?

Colors that pair well with WhiteSmoke include gainsboro, snow, ghostwhite, lightgray, aliceblue. For a complementary scheme, try #f5f5f5. For an analogous scheme, use #f5f5f5 and #f5f5f5. For a triadic scheme, combine with #f5f5f5 and #f5f5f5.