Skip to content

#ffffff

a pale, muted near-white · warm · “white”

RGB
255, 255, 255
HSL
0°, 0%, 100%
CMYK
0, 0, 0, 0
Luminance
1.0000

Every format

HEX#ffffff
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKcmyk(0%, 0%, 0%, 0%)
LABlab(100.0 0.0 0.0)
LCHlch(100.0 0.0 180.0)
OKLCHoklch(1.000 0.000 89.9)

Copy-ready code

/* CSS */
color: #ffffff;
background-color: #ffffff;
/* Tailwind (arbitrary) */
class="text-[#ffffff] bg-[#ffffff]"
/* SCSS */
$brand: #ffffff;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 1.000)
/* Android */
Color.parseColor("#ffffff")

Accessibility — WCAG contrast

Aa
#ffffff on white: 1.00:1
AA ✗ fail · AA-large · AAA
Aa
#ffffff on black: 21.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ffffff text on a black background

contrast 21.00:1

Card sample

#ffffff text on a white background

contrast 1.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ffffff;
Background color
Panel with #ffffff background
background-color: #ffffff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ffffff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffffff;
background: linear-gradient(135deg, #ffffff, #FFFFFF);

Monochromatic scale

Palettes built from #ffffff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffff in the Color Lab