#F0EBE1Understand. Compare. Create.
Black: 17 shades, names and colour codes
Explore black shades, HTML and RGB codes, colour meanings and ideas for combining black in your projects.
Colour code and CSS reference
The CSS keyword black corresponds to #000000. It represents one specific black shade, not the entire colour family.
- HEX
- #000000
- RGB
- 0, 0, 0
- CMYK ≈
- 0%, 0%, 0%, 100%
- HSL
- 0°, 0%, 0%
The displayed CMYK values are estimates without a print profile.
Opaque black, transparent backgrounds and readable dark panels
#000000 paints an opaque black colour. By contrast, the CSS keyword transparent means fully transparent black: it does not paint a visible black layer, so the background behind it shows through. A transparent panel therefore has no fixed background colour against which to assess its text.
Setting CSS opacity on a container affects its contents too. Using opacity: 0.5 to soften a dark panel also fades its text and icons. For a predictable reading area, choose an opaque background and foreground explicitly instead of dimming the entire container.
The existing palette’s ecru #F0EBE1 on charcoal #262827 gives 12.49:1 contrast. This example applies those colours to one panel:
.dark-panel {
background-color:
#262827;
color: #F0EBE1;
}The same palette’s cognac #A56C43 reaches only 3.41:1 on charcoal and 3.66:1 on ecru. Neither meets the 4.5:1 minimum for normal text. Keep cognac decorative on these surfaces or choose another tested text colour.
Ratios use opaque sRGB colours and are rounded to two decimals. Transparency, gradients or images require a new check against the resulting background. A passing text pair does not certify the whole interface.
Check links, controls and keyboard focus separately. Dark borders or photographs may still disappear into a dark panel even when its paragraphs are readable. Keep meaningful icons distinguishable from their immediate background as well.
Meaning and perception
On screen, sRGB black has three zero channels. In print or paint, its appearance depends on the surface and material. Its meaning can range from elegance to mourning, depending on context.
Which colours go with it?
Black can welcome many colours, though the space you give it changes the result dramatically. A black line can simply organise a composition; a large black background becomes a major element itself. Decide between outline, surface and accent before choosing a companion colour.
Black and white: organise the main areas
For black and white, let the larger areas set the rhythm, with small details kept in support. In a room, a light background with a few black volumes creates a different hierarchy from a mainly black space. For a layout, place headings, images and empty areas first. Closely spaced black-and-white patterns need testing at their actual size.
Black and brown: let texture contribute
Matt black can sit quietly beside walnut, cognac leather or chocolate brown, allowing their textures a little room. If both colours are dark, introduce a lighter area to separate silhouettes. In clothing, differences in material can be more interesting than additional accessories. In product photography, make sure a brown object does not disappear into the black background.
Black and ochre: choose the focal point
On a black-and-ecru base, a few ochre accents can land like small flecks of late sunlight. Start with one location: a seat, graphic shape or important number. Very bright yellow makes the visual contrast more insistent; reduce its area if you want a quieter presence. Yellow does not need to appear everywhere to register.
Pure black, charcoal and black materials
On screen, #000000 describes a specific sRGB black. Black fabric, satin paint and black metal do not therefore have identical appearances. Compare finish as well as hue. For an interface, also try charcoal if pure black feels too abrupt, then measure text contrast against the actual value you select.
Try this palette: charcoal, ecru and cognac
For an initial light composition, try 70% ecru, 20% charcoal and 10% cognac. A dark version can reverse the first two proportions, but boundaries, images and text areas then need reassessing.
#262827#A56C43Suggested palette with copyable HEX codes for your own trials. These sRGB previews are not certified paint or textile specifications.
A common trap: losing dark elements against black
On black, a dark-grey border, navy logo or dim photograph can become difficult to distinguish. Test the composition on several screens and in its intended setting. Separate elements by adjusting lightness, spacing or outlines rather than automatically introducing a bright colour.
Shades of black
The names and previews below come from the site’s shade directory. Several codes may share a common name; these shades are not certified RAL or Pantone equivalents.
This directory has 17 named entries but 10 distinct HEX previews; seven entries share #000000. Those shared screen values do not establish that the corresponding pigments or materials are physically identical. The CSS black reference above identifies the standard digital value.
#000000#000000#3F2204#2C030B#3A020D#0B1616#000000#000000#000010#120D16#130E0A#130E0A#000000#000000#000000#2F1E0E#2D241EGet the free colour kit: HEX/RGB codes and a project worksheet.
Also discover: Casekit — customer support for online shops.