White Smoke (#F5F5F5)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 1.09:1 — vs black: 19.26:1

Color values

  • HEX #F5F5F5
  • RGB rgb(245, 245, 245)
  • HSL hsl(0, 0%, 96%)
  • CMYK cmyk( 0, 0, 0, 4 )
  • Websafe #FFFFFF

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #F5F5F5 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

White Smoke
#F5F5F5 Base
White Smoke
#F5F5F5
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

White Smoke
#F5F5F5 Base
White Smoke
#F5F5F5
White Smoke
#F5F5F5
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

White Smoke
#F5F5F5 Base
White Smoke
#F5F5F5
White Smoke
#F5F5F5
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

White Smoke
#F5F5F5 Base
White Smoke
#F5F5F5
White Smoke
#F5F5F5
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

White Smoke
#F5F5F5 Base
White Smoke
#F5F5F5
White Smoke
#F5F5F5
White Smoke
#F5F5F5
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

White Smoke
#F5F5F5 Base
#A8A8A8
#CFCFCF
#E1E1E1
#F2F2F2
Shades & Tints

Darker shades and lighter tints of White Smoke, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#0D0D0D
#3B3B3B
#6A6A6A
#C7C7C7
White Smoke #F5F5F5 Base
#F2F2F2
#F2F2F2
#F2F2F2
#F2F2F2
#F2F2F2
CSS & SCSS Snippets

Ready-to-use code snippets for #F5F5F5. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #F5F5F5;
}

/* Text */
.element {
    color: #F5F5F5;
}

/* Border */
.element {
    border: 1px solid #F5F5F5;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #F5F5F5,
        #F5F5F5
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #F5F5F5,
        #F5F5F5
    );
}
SCSS Variable
// SCSS variable
$white-smoke: #F5F5F5;

// With RGB channels (useful for rgba() usage)
$white-smoke-r: 245;
$white-smoke-g: 245;
$white-smoke-b: 245;

// Usage
.element {
    background-color: $white-smoke;
    color: rgba($white-smoke-r, $white-smoke-g, $white-smoke-b, 0.8);
}
Color Blindness Simulation

How White Smoke appears to people with different types of color vision deficiency.

Normal Vision #F5F5F5 How the color appears with full color vision.
Deuteranopia #F5F5F5 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #F5F5F5 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #F5F5F5 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #F5F5F5 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to White Smoke ranked by perceptual difference (Delta-E 2000 — lower = more similar).

White Smoke #F5F5F5 Base
Munsell #F2F3F4 ΔE 0.77
White #FFFFFF ΔE 2.01
Isabelline #F4F0EC ΔE 2.61
Snow #FFFAFA ΔE 2.71

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.