Skip to content
PantoneTools
white
CSS Named Colors

White

white · #FFFFFF

HEX

#FFFFFF

RGB

rgb(255, 255, 255)

CMYK

cmyk(0%, 0%, 0%, 0%)

HSL

hsl(0, 0%, 100%)

LAB

lab(100.0, 0.0, 0.0)

What is White?

White is the white reference in the CSS Named Colors. Its sRGB value is #FFFFFF (rgb 255, 255, 255). It sits in the white family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for White as a background.

Black text on this color

Sample text · 21.00 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.00 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of White

An 11-step tonal scale derived from White (#FFFFFF). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FFFFFF

50

#FFFFFF

#FFFFFF

Copied #FFFFFF

100

#FFFFFF

#FFFFFF

Copied #FFFFFF

200

#FFFFFF

#FFFFFF

Copied #FFFFFF

300

#FFFFFF

#FFFFFF

Copied #FFFFFF

400

#FFFFFF

#FFFFFF

Copied #FFFFFF

500

#FFFFFF

#FFFFFF

Copied #D9D9D9

600

#D9D9D9

#D9D9D9

Copied #A6A6A6

700

#A6A6A6

#A6A6A6

Copied #737373

800

#737373

#737373

Copied #404040

900

#404040

#404040

Copied #1F1F1F

950

#1F1F1F

#1F1F1F

Lighter tints (mixed with white)

Copied #FFFFFF

15%

#FFFFFF

Copied #FFFFFF

30%

#FFFFFF

Copied #FFFFFF

45%

#FFFFFF

Copied #FFFFFF

60%

#FFFFFF

Copied #FFFFFF

75%

#FFFFFF

Darker shades (mixed with black)

Copied #EDEDED

15%

#EDEDED

Copied #DADADA

30%

#DADADA

Copied #C4C4C4

45%

#C4C4C4

Copied #AAAAAA

60%

#AAAAAA

Copied #898989

75%

#898989

Color harmonies for White

Classic color-theory harmonies derived from rotating the hue of White. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Triadic

Three colors 120° apart

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Analogous

Two neighbors ±30° on the wheel

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Split-complementary

Base + two colors flanking its complement

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Tetradic

Two complementary pairs

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Square

Four colors evenly spaced 90° apart

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

Copied #FFFFFF

#FFFFFF

#FFFFFF

White in every color space

Full conversion of White across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#FFFFFF

RGB

rgb(255, 255, 255)

CMYK

cmyk(0%, 0%, 0%, 0%)

HSL

hsl(0, 0%, 100%)

HSV

hsv(0, 0%, 100%)

HWB

hwb(0 100% 0%)

CIE Lab

lab(100.0 0.0 0.0)

OKLCH

oklch(100.0% 0.000 89.9)

XYZ (D65)

xyz(95.05, 100.00, 108.88)

Copy-ready code for White

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #FFFFFF;
background-color: #FFFFFF;

CSS variable

:root {
  --color-white: #FFFFFF;
}

Tailwind config

// tailwind.config.js
colors: {
  'white': '#FFFFFF',
}

Sass

$color-white: #FFFFFF;

Swift UIColor

UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1.0)

Android XML

<color name="white">#FFFFFF</color>

Closest match in every color system

The nearest White equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #FDF4E3

RAL 9001

#FDF4E3

Cream

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

FAQ about White

What is the HEX code for White?

White (white) has the HEX code #FFFFFF. In RGB it is rgb(255, 255, 255), and in CMYK it is cmyk(0%, 0%, 0%, 0%).

What is the OKLCH value of White?

White converts to oklch(1.000 0.000 89.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is White accessible for body text?

Used as a background, White has a contrast ratio of 21.00:1 with black text and 1.00:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to White?

The closest Pantone reference to White by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to White?

The closest RAL Classic reference to White by ΔE2000 distance is RAL 9010 (Pure white, #FFFFFF). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of White?

The complementary color (180° opposite on the HSL color wheel) of White is #FFFFFF. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
white

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · White — #FFFFFF | PantoneTools