# Black color guide

> Black is #000000 (rgb(0, 0, 0)). Pairings, WCAG contrast, harmonies, shades and tints for black.

Source: https://www.linearity.io/academy/colors/black/

#000000

HEX

#000000

RGB

rgb(0, 0, 0)

HSL

hsl(0, 0%, 0%)

CMYK

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

Pure black is rarer in good design than people expect — on screens it can feel like a hole in the layout. Most systems use a very dark grey instead.

Best for

Maximum contrast, print, and deliberate starkness.

## Accessibility

Sample

Black text on white 21:1 AAA

Sample

White text on black 21:1 AAA

Sample

Black text on black 1:1 Fail

Sample

Black text on black 1:1 Fail

Ratios follow WCAG 2.1. AA needs 4.5:1 for body text, AAA needs 7:1; large text passes AA at 3:1. To test black against any other color, use the [color contrast checker](https://www.linearity.io/tools/contrast-checker/).

## Colors that go with black

Combinations that hold up in a real layout rather than only on the colour wheel.

[White#FFFFFF](https://www.linearity.io/academy/colors/white/)[Gold#FFD700](https://www.linearity.io/academy/colors/gold/)[Lime#BFFF00](https://www.linearity.io/academy/colors/lime/)

## Black color harmonies

Complementary

The opposite hue — highest contrast, best used sparingly.

#000000 #000000

Analogous

Neighbouring hues that sit together calmly.

#000000 #000000 #000000

Triadic

Three evenly spaced hues — vivid but balanced.

#000000 #000000 #000000

Split complementary

Softer than complementary, with the same tension.

#000000 #000000 #000000

## Black shades and tints

The same hue and saturation across ten lightness steps — the basis of a usable colour ramp in a design system.

#F2F2F2#D9D9D9#BFBFBF#A6A6A6#8C8C8C#737373#595959#404040#262626#141414

## Black FAQ

What is the hex code for black?

Black is #000000. In other formats that is rgb(0, 0, 0), hsl(0, 0%, 0%), and approximately cmyk(0%, 0%, 0%, 100%) for print.

What colors go with black?

White, Gold, Lime all pair well with black. Maximum contrast, print, and deliberate starkness.

Is black accessible for text?

Yes — black text on white reaches 21:1, which passes WCAG AA for body text.

Should text on black be black or white?

Use white text. It gives the higher contrast ratio of the two against #000000.

## More neutral colors

[White#FFFFFF](https://www.linearity.io/academy/colors/white/)[Charcoal#36454F](https://www.linearity.io/academy/colors/charcoal/)[Slate Gray#708090](https://www.linearity.io/academy/colors/slate-gray/)[Silver#C0C0C0](https://www.linearity.io/academy/colors/silver/)[Ivory#FFFFF0](https://www.linearity.io/academy/colors/ivory/)[Bone#E3DAC9](https://www.linearity.io/academy/colors/bone/)

## Try it now. Turn any idea into a design.

Free to start. No credit card required. [See pricing](https://www.linearity.io/pricing/)

---
From https://www.linearity.io. An index of the site for AI agents is at https://www.linearity.io/llms.txt
