Swatchproof

Black #000000

Black is one of the named colours in CSS, written black. White text reaches 21.00:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordblack
HEX#000000
RGBrgb(0 0 0)
HSLhsl(0 0% 0%)
OKLCHoklch(0.0% 0.000 0)
White text21.00:1 · body text AA Pass
Black text1.00:1 · body text AA Fail

Colours that go with Black

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Black (#111314), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Black itself.

ColourHEXContrast with BlackBody text AA
Yellow#FFF20017.95:1Pass
Sulpher Yellow#F5ECC217.66:1Pass
Lemon Yellow#F8ED4317.19:1Pass
Seashell Pink#FDD4BD15.33:1Pass
Ivory Buff#EBD3A214.37:1Pass
Cinnamon Buff#FDC57E13.46:1Pass
Yellow Green#AFD47212.48:1Pass
Glaucous Green#B4CDC212.45:1Pass
Calamine BLue#78CDD011.44:1Pass
Neutral Gray#B6BFC111.21:1Pass
Vinaceous Cinnamon#EEA78C10.54:1Pass
Pyrite Yellow#CAB35610.09:1Pass
Yellow Orange#F99D1B9.87:1Pass
Citron Yellow#B2B73E9.74:1Pass
Eosine Pink#F37F948.27:1Pass
Warm Gray#A1A39A8.22:1Pass
Laelia Pink#CA92A88.19:1Pass
Grenadine Pink#F480678.13:1Pass
Sea Green#00B49B8.00:1Pass
Orange#F374207.33:1Pass
Peach Red#F15A306.25:1Pass
Green#489B6E6.19:1Pass
English Red#D966295.88:1Pass
Jasper Red#EB53245.80:1Pass
Raw Sienna#BB71255.50:1Pass
Dull Viridian Green#0094655.42:1Pass
Aconite Violet#A36AA55.16:1Pass
Sudan Brown#A367524.62:1Pass
Burnt Sienna#AE52244.03:1Fail
Rosolanc Purple#B73F743.98:1Fail
Carmine#CC12363.71:1Fail
Diamine Green#1A74443.63:1Fail
Carmine Red#A62C373.04:1Fail
Taupe Brown#7A44562.79:1Fail
Sepia#644B1E2.57:1Fail
Vistoris Lake#6D41452.49:1Fail
Violet Carmine#713B4C2.43:1Fail
Pale Burnt Lake#8026262.22:1Fail
Deep Lyons Blue#1C42862.17:1Fail
Madder Brown#762C192.14:1Fail

Palettes with Black

Shades and tints of Black

Nine lightness steps in OKLCH that keep the hue of Black. Chroma is reduced only where sRGB cannot show it.

:root {
  --black-100: #F5F5F5;
  --black-200: #E4E4E4;
  --black-300: #CECECE;
  --black-400: #B1B1B1;
  --black-500: #929292;
  --black-600: #717171;
  --black-700: #555555;
  --black-800: #3A3A3A;
  --black-900: #222222;
}

Text that keeps Black on screen

Text #000000 on #F5F5F5 reaches 19.26:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours