Whitesmoke — #F5F5F5
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Whitesmoke values in every format
| CSS name | whitesmoke |
|---|---|
| HEX | #F5F5F5 |
| RGB | rgb(245, 245, 245) |
| RGB % | 96%, 96%, 96% |
| HSL | hsl(0, 0%, 96%) |
| HSV / HSB | 0°, 0%, 96% |
| CMYK (print) | 0%, 0%, 0%, 4% |
| Relative luminance | 0.913 |
| Contrast on black | 19.26 : 1 |
| Contrast on white | 1.09 : 1 |
| Best text colour on it | Black (19.26 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Whitesmoke (50–950)
50 #F7F7F7100 #EDEDED200 #D6D6D6300 #B8B8B8400 #949494500 #757575600 #5E5E5E700 #4A4A4A800 #383838900 #262626950 #171717
The scale keeps Whitesmoke's hue (0°) and saturation (0%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Whitesmoke
Complementary: #F5F5F5#F5F5F5
Analogous: #F5F5F5#F5F5F5#F5F5F5
Triadic: #F5F5F5#F5F5F5#F5F5F5
Split-complementary: #F5F5F5#F5F5F5#F5F5F5
Square: #F5F5F5#F5F5F5#F5F5F5#F5F5F5
Computed by rotating the hue wheel from 0°. Try them live in the Colour Harmony Generator.
Closest named colours
ghostwhite (#F8F8FF) · lavenderblush (#FFF0F5) · mintcream (#F5FFFA)
Using Whitesmoke well
Whitesmoke sits in the neutral (grey family) family at 96% lightness — a light, muted, neutral colour. As a background it pairs best with black text (19.26:1 contrast). Its complement (#F5F5F5) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#F5F5F5, #F5F5F5) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Whitesmoke is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Whitesmoke?
#F5F5F5 — the CSS named colour “whitesmoke”. Its RGB is (245, 245, 245).
Is Whitesmoke good for text or backgrounds?
As a background, black text reads best on it (19.26:1). As text itself on white it reaches 1.09:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Whitesmoke?
Its complement #F5F5F5 for contrast, analogous #F5F5F5 and #F5F5F5 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Whitesmoke in CMYK for printing?
C0 M0 Y0 K4. CMYK conversions of screen colours are a starting point — always proof before a print run.