About #F5F5F5
#F5F5F5 is a very pale, neutral gray. It belongs to the white family and reads as a neutral color. All three channels are equal (245), so it is a pure gray at 96.1% brightness with no hue at all. Colors like this are typically used for page backgrounds, cards and subtle section fills.
- It is the CSS named color whitesmoke, so you can write
color: whitesmokeinstead of the hex code.
Color conversions
| HEX | #F5F5F5 |
|---|---|
| RGB | rgb(245, 245, 245) |
| RGB percent | rgb(96.1%, 96.1%, 96.1%) |
| HSL | hsl(0, 0%, 96%) |
| HSV / HSB | hsv(0, 0%, 96%) |
| CMYK | cmyk(0%, 0%, 0%, 4%) |
| CIELAB (D65) | lab(96.5 0 0) |
| Decimal | 16119285 |
| Binary | 11110101 11110101 11110101 |
HEX F5 F5 F5 → 245, 245, 245 (each pair is a base-16 number: F×16 + 5 = 245)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #F5F5F5
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #F5F5F5 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.09:1 | Fail | Fail | Fail | Fail |
| Black text | 19.26:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.9131 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#f5f5f5
Deuteranopia#f5f5f5
Tritanopia#f5f5f5
Achromatopsia#f5f5f5
People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| whitesmoke | #f5f5f5 | 0 |
| white | #ffffff | 2 |
| snow | #fffafa | 2.7 |
| ghostwhite | #f8f8ff | 3.6 |
CSS
.element {
color: #f5f5f5;
background-color: rgb(245, 245, 245);
border: 1px solid hsl(0, 0%, 96%);
box-shadow: 0 2px 8px rgb(245 245 245 / 50%);
}
:root { --brand: #f5f5f5; }