whitesmoke whitesmoke #f5f5f5

whitesmoke is #f5f5f5 in hexadecimal, rgb(245, 245, 245) in decimal and hsl(0, 0, 96) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#f5f5f5
HEX#f5f5f5
RGBrgb(245, 245, 245)
HSLhsl(0, 0%, 96%)

Harmonies

Complementary

#f2f7f7

Analogous

#f7f2f5#f7f5f2

Triadic

#f2f7f2#f2f2f7

Split complementary

#f2f7f5#f2f5f7

Tints & shades

#d1d1d1#e0e0e0#f5f5f5#f5f5f5#f5f5f5

Accessibility

vs #ffffff1.09:1
vs #00000019.26:1
Suggested text color#000000 · 19.26:1 · WCAG AAA

Similar named colors

ghostwhite#f8f8fflavenderblush#fff0f5mintcream#f5fffaaliceblue#f0f8ffseashell#fff5eefloralwhite#fffaf0

FAQ

What is the HEX code for whitesmoke?

whitesmoke is #f5f5f5 in hex, rgb(245, 245, 245) in decimal and hsl(0, 0%, 96%) in HSL. In CSS you can write either color: whitesmoke; or color: #f5f5f5; — they are equivalent.

What colors go with whitesmoke?

The complementary #f2f7f7 gives the strongest contrast, the analogous pair #f7f2f5 / #f7f5f2 is the safest, and the triad #f2f7f2 / #f2f2f7 adds more tension. All three are derived from the 0° hue of #f5f5f5.

Does #f5f5f5 read better on white or black?

Its contrast is 1.09:1 against white and 19.26:1 against black. Use #000000 text on it — that gives 19.26:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors