Whitesmoke
whitesmoke · #F5F5F5
HEX
#F5F5F5
RGB
rgb(245, 245, 245)
CMYK
cmyk(0%, 0%, 0%, 4%)
HSL
hsl(0, 0%, 96%)
LAB
lab(96.5, 0.0, 0.0)
What is Whitesmoke?
Whitesmoke is the whitesmoke reference in the CSS Named Colors. Its sRGB value is #F5F5F5 (rgb 245, 245, 245). It sits in the white family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Whitesmoke as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Whitesmoke
An 11-step tonal scale derived from Whitesmoke (#F5F5F5). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FEFEFE
#FEFEFE
100
#FDFDFD
#FDFDFD
200
#FCFCFC
#FCFCFC
300
#FAFAFA
#FAFAFA
400
#F8F8F8
#F8F8F8
500
#F5F5F5
#F5F5F5
600
#D0D0D0
#D0D0D0
700
#9F9F9F
#9F9F9F
800
#6E6E6E
#6E6E6E
900
#3D3D3D
#3D3D3D
950
#1D1D1D
#1D1D1D
Lighter tints (mixed with white)
15%
#F7F7F7
30%
#F8F8F8
45%
#FAFAFA
60%
#FBFBFB
75%
#FDFDFD
Darker shades (mixed with black)
15%
#E4E4E4
30%
#D1D1D1
45%
#BCBCBC
60%
#A3A3A3
75%
#838383
Color harmonies for Whitesmoke
Classic color-theory harmonies derived from rotating the hue of Whitesmoke. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Triadic
Three colors 120° apart
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Analogous
Two neighbors ±30° on the wheel
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Split-complementary
Base + two colors flanking its complement
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Tetradic
Two complementary pairs
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Square
Four colors evenly spaced 90° apart
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
#F5F5F5
Whitesmoke in every color space
Full conversion of Whitesmoke across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#F5F5F5
RGB
rgb(245, 245, 245)
CMYK
cmyk(0%, 0%, 0%, 4%)
HSL
hsl(0, 0%, 96%)
HSV
hsv(0, 0%, 96%)
HWB
hwb(0 96% 4%)
CIE Lab
lab(96.5 0.0 0.0)
OKLCH
oklch(97.0% 0.000 89.9)
XYZ (D65)
xyz(86.79, 91.31, 99.42)
Copy-ready code for Whitesmoke
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #F5F5F5;
background-color: #F5F5F5;CSS variable
:root {
--color-whitesmoke: #F5F5F5;
}Tailwind config
// tailwind.config.js
colors: {
'whitesmoke': '#F5F5F5',
}Sass
$color-whitesmoke: #F5F5F5;Swift UIColor
UIColor(red: 0.961, green: 0.961, blue: 0.961, alpha: 1.0)Android XML
<color name="whitesmoke">#F5F5F5</color>Closest match in every color system
The nearest Whitesmoke equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 9016
#F6F6F6
Traffic white
RAL 9003
#F4F4F4
Signal white
RAL 9010
#FFFFFF
Pure white
RAL 7035
#D7D7D7
Light grey
RAL 9018
#D7D7D7
Papyrus white
RAL 9001
#FDF4E3
Cream
FAQ about Whitesmoke
What is the HEX code for Whitesmoke?
Whitesmoke (whitesmoke) has the HEX code #F5F5F5. In RGB it is rgb(245, 245, 245), and in CMYK it is cmyk(0%, 0%, 0%, 4%).
What is the OKLCH value of Whitesmoke?
Whitesmoke converts to oklch(0.970 0.000 89.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Whitesmoke accessible for body text?
Used as a background, Whitesmoke has a contrast ratio of 19.26:1 with black text and 1.09:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Whitesmoke?
The closest Pantone reference to Whitesmoke by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Whitesmoke?
The closest RAL Classic reference to Whitesmoke by ΔE2000 distance is RAL 9016 (Traffic white, #F6F6F6). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Whitesmoke?
The complementary color (180° opposite on the HSL color wheel) of Whitesmoke is #F5F5F5. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.