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 keyword | black |
|---|---|
| HEX | #000000 |
| RGB | rgb(0 0 0) |
| HSL | hsl(0 0% 0%) |
| OKLCH | oklch(0.0% 0.000 0) |
| White text | 21.00:1 · body text AA Pass |
| Black text | 1.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.
| Colour | HEX | Contrast with Black | Body text AA |
|---|---|---|---|
| Yellow | #FFF200 | 17.95:1 | Pass |
| Sulpher Yellow | #F5ECC2 | 17.66:1 | Pass |
| Lemon Yellow | #F8ED43 | 17.19:1 | Pass |
| Seashell Pink | #FDD4BD | 15.33:1 | Pass |
| Ivory Buff | #EBD3A2 | 14.37:1 | Pass |
| Cinnamon Buff | #FDC57E | 13.46:1 | Pass |
| Yellow Green | #AFD472 | 12.48:1 | Pass |
| Glaucous Green | #B4CDC2 | 12.45:1 | Pass |
| Calamine BLue | #78CDD0 | 11.44:1 | Pass |
| Neutral Gray | #B6BFC1 | 11.21:1 | Pass |
| Vinaceous Cinnamon | #EEA78C | 10.54:1 | Pass |
| Pyrite Yellow | #CAB356 | 10.09:1 | Pass |
| Yellow Orange | #F99D1B | 9.87:1 | Pass |
| Citron Yellow | #B2B73E | 9.74:1 | Pass |
| Eosine Pink | #F37F94 | 8.27:1 | Pass |
| Warm Gray | #A1A39A | 8.22:1 | Pass |
| Laelia Pink | #CA92A8 | 8.19:1 | Pass |
| Grenadine Pink | #F48067 | 8.13:1 | Pass |
| Sea Green | #00B49B | 8.00:1 | Pass |
| Orange | #F37420 | 7.33:1 | Pass |
| Peach Red | #F15A30 | 6.25:1 | Pass |
| Green | #489B6E | 6.19:1 | Pass |
| English Red | #D96629 | 5.88:1 | Pass |
| Jasper Red | #EB5324 | 5.80:1 | Pass |
| Raw Sienna | #BB7125 | 5.50:1 | Pass |
| Dull Viridian Green | #009465 | 5.42:1 | Pass |
| Aconite Violet | #A36AA5 | 5.16:1 | Pass |
| Sudan Brown | #A36752 | 4.62:1 | Pass |
| Burnt Sienna | #AE5224 | 4.03:1 | Fail |
| Rosolanc Purple | #B73F74 | 3.98:1 | Fail |
| Carmine | #CC1236 | 3.71:1 | Fail |
| Diamine Green | #1A7444 | 3.63:1 | Fail |
| Carmine Red | #A62C37 | 3.04:1 | Fail |
| Taupe Brown | #7A4456 | 2.79:1 | Fail |
| Sepia | #644B1E | 2.57:1 | Fail |
| Vistoris Lake | #6D4145 | 2.49:1 | Fail |
| Violet Carmine | #713B4C | 2.43:1 | Fail |
| Pale Burnt Lake | #802626 | 2.22:1 | Fail |
| Deep Lyons Blue | #1C4286 | 2.17:1 | Fail |
| Madder Brown | #762C19 | 2.14:1 | Fail |
Palettes with Black
- Combination #46 Orange · Black
- Combination #52 Sulpher Yellow · Black
- Combination #62 Yellow · Black
- Combination #69 Warm Gray · Black
- Combination #112 Grenadine Pink · Black
- Combination #117 Carmine · Black
- Combination #144 Rosolanc Purple · Orange · Black
- Combination #190 Ivory Buff · English Red · Black
- Combination #207 Sudan Brown · Glaucous Green · Black
- Combination #216 Jasper Red · Green · Black
- Combination #221 Carmine Red · Neutral Gray · Black
- Combination #242 Eosine Pink · Burnt Sienna · Diamine Green · 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.
- 100#F5F5F5
- 200#E4E4E4
- 300#CECECE
- 400#B1B1B1
- 500#929292
- 600#717171
- 700#555555
- 800#3A3A3A
- 900#222222
: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