#FFFFFF

White — Color Codes & Palette

#FFFFFF  ·  rgb(255, 255, 255)  ·  hsl(0, 0%, 100%)

Color Codes

Format Value
HEX #FFFFFF
RGB rgb(255, 255, 255)
HSL hsl(0, 0%, 100%)

Shades of White

#E3E3E3#C7C7C7#ABABAB#8F8F8F#737373#575757#3B3B3B#1F1F1F

Tints of White

#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF

Color Pairings & Harmony

Complementary
#FFFFFF
Analogous +30°
#FFFFFF
Analogous −30°
#FFFFFF
Triadic +120°
#FFFFFF
Triadic −120°
#FFFFFF

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
1.00:1 — Fail
vs. Black (#000000)
21.00:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #FFFFFF;
}

.element-bg {
  background-color: #FFFFFF;
  color: #000000;
}

.element-border {
  border: 2px solid #FFFFFF;
}

About White

White is a very light color with very low saturation (nearly achromatic), defined by the hex code #FFFFFF. Its exact color model values are rgb(255, 255, 255) in RGB and hsl(0, 0%, 100%) in HSL (hue 0°, saturation 0%, lightness 100%). On a white background the contrast ratio is 1.00:1 — Fail, and on black it is 21.00:1 — AAA pass for normal text. Use White for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of White?
The RGB value of White (#FFFFFF) is rgb(255, 255, 255). Red = rgb(255, 255, 255), representing the amounts of red, green, and blue light on a 0–255 scale.
Is White accessible on a white background?
The contrast ratio of White on white (#FFFFFF) is 1.00:1 — Fail. On black (#000000) the contrast ratio is 21.00:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with White?
Based on color theory, White (hsl(0, 0%, 100%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.