White Color
White is a near-white neutral with hex code #FFFFFF. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
White color codes
| HEX | #FFFFFF | |
|---|---|---|
| RGB | rgb(255, 255, 255) | |
| HSL | hsl(0, 0%, 100%) | |
| HSV | 0°, 0%, 100% | |
| CMYK | 0%, 0%, 0%, 0% | |
| OKLCH | oklch(100% 0 89.9) | |
| Tailwind | bg-[#ffffff] |
Closest Tailwind colour: zinc-50 (#FAFAFA). Convert any colour in the Color Converter.
About White
White (#FFFFFF) is a near-white neutral. In the RGB model it is 100% red, 100% green and 100% blue; its hue angle is 0°, with 0% saturation and 100% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 0% black.
It is a neutral colour and appears in our shades of white. Text on it reads best in black (21.0:1 contrast).
White tints and shades
Tints mix white with white; shades mix it with black. Click to copy.
Colors that go with White
White is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.
Complementary
Analogous
Triadic
Split complementary
White contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using White in CSS
.brand {
color: #ffffff;
}
.button {
background: #ffffff;
color: #111;
}
.hero {
background: linear-gradient(135deg, #ffffff, #ffffff, #a6a6a6);
}Similar colors
Gradients with White
White FAQ
What color is White?
White is a near-white neutral. Its hex code is #FFFFFF and it is a neutral colour.
What is the hex code for White?
The hex code for White is #FFFFFF. In RGB that is rgb(255, 255, 255), and in HSL hsl(0, 0%, 100%).
What is White in CMYK?
White is roughly C 0%, M 0%, Y 0%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with White?
White is a neutral and pairs with almost any colour; one saturated accent usually looks best.
Is white or black text better on White?
Black text reads better on White: 21.0:1 contrast, against 1.0:1 for white. WCAG asks for 4.5:1 for body text.
