About #FFFFFF
#FFFFFF is a very pale, neutral gray. It belongs to the white family and reads as a neutral color. All three channels are equal (255), so it is a pure gray at 100% 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 white, so you can write
color: whiteinstead of the hex code. - It is one of the 216 web-safe colors: every channel is a multiple of 51 (hex 00, 33, 66, 99, CC, FF).
- It can be written in 3-digit shorthand as
#fff.
Color conversions
| HEX | #FFFFFF |
|---|---|
| Short HEX | #FFF |
| RGB | rgb(255, 255, 255) |
| RGB percent | rgb(100%, 100%, 100%) |
| HSL | hsl(0, 0%, 100%) |
| HSV / HSB | hsv(0, 0%, 100%) |
| CMYK | cmyk(0%, 0%, 0%, 0%) |
| CIELAB (D65) | lab(100 0 0) |
| Decimal | 16777215 |
| Binary | 11111111 11111111 11111111 |
HEX FF FF FF → 255, 255, 255 (each pair is a base-16 number: F×16 + F = 255)
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 #FFFFFF
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFFFFF | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.00:1 | Fail | Fail | Fail | Fail |
| Black text | 21.00:1 | Pass | Pass | Pass | Pass |
Relative luminance is 1.0000 (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#ffffff
Deuteranopia#ffffff
Tritanopia#ffffff
Achromatopsia#ffffff
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 |
|---|---|---|
| white | #ffffff | 0 |
| whitesmoke | #f5f5f5 | 2 |
| snow | #fffafa | 2.5 |
| ghostwhite | #f8f8ff | 3.8 |
Nearby colors
CSS
.element {
color: #ffffff;
background-color: rgb(255, 255, 255);
border: 1px solid hsl(0, 0%, 100%);
box-shadow: 0 2px 8px rgb(255 255 255 / 50%);
}
:root { --brand: #ffffff; }