Black and White

#000000 · oklch(0% 0 0)
#FFFFFF · oklch(100% 0 0)
hue separation 0° · direct contrast 21:1 · both cool

Why they work: the zero-chroma contrast — nothing to hide behind.

Combination sets

The classic split

Black and White with a light tint of black, a deep shade of white and white for breathing room.

000000
FFFFFF
717171
808080
FFFFFF
Black — primary · White — secondary · Light tint (surfaces) · Deep shade (text/footer) · White (space)

Dark mode

Both anchors survive on dark: White as the highlight, Black as the accent, and two intermediate surfaces for elevation.

16161D
14141A
000000
FFFFFF
F5F5F4
Base surface · Elevated surface · Black — accent · White — highlight · Primary text

Soft & light

Both anchors reduced to tints for airy sections, with the full-strength colors kept for buttons and links.

C4C4C4
FFFFFF
000000
FFFFFF
E4E4E4
Black wash · White wash · Black — full · White — full · Neutral page

60 / 30 / 10 UI set

A practical interface split: neutral ~60%, black ~30% for structure, white ~10% for calls to action.

E6E5E0
C7C6C2
000000
FFFFFF
000000
Neutral base (60%) · Soft border/surface · Black (30%) · White CTA (10%) · Text color

Gradient bridge

The direct perceptual path from black to white — use for hero sections, charts and progress states.

000000
3B3B3B
777777
B9B9B9
FFFFFF
Black — start · Bridge step · Bridge step · Bridge step · White — end

Contrast data

ForegroundBackgroundRatioAAAAA
#000000#FFFFFF21.00:1
#FFFFFF#00000021.00:1
#000000#FFFFFF21.00:1
#000000#0000001.00:1
#FFFFFF#FFFFFF1.00:1
#FFFFFF#00000021.00:1
#16161D#6363633.00:1
Open in palette generator →Preview on UI scenes →Open in contrast checker →

Related combinations

FAQ

Do black and white go together?

Yes — the zero-chroma contrast — nothing to hide behind. Their hues are 0° apart on the color wheel and the direct pair contrast is 21:1. The sets on this page show exactly how to balance them (both cool).

What text color works on black and white?

On black use #FFFFFF text (21:1); on white use #000000 (21:1). Both pass WCAG AA for normal text.

What are the exact color codes?

Black: #000000 — OKLCH oklch(0% 0 0). White: #FFFFFF — OKLCH oklch(100% 0 0).