#000000

Black — Color Codes & Palette

#000000  ·  rgb(0, 0, 0)  ·  hsl(0, 0%, 0%)

Color Codes

Format Value
HEX #000000
RGB rgb(0, 0, 0)
HSL hsl(0, 0%, 0%)

Shades of Black

#000000#000000#000000#000000#000000#000000#000000#000000

Tints of Black

#1C1C1C#383838#545454#707070#8C8C8C#A8A8A8#C4C4C4#E0E0E0

Color Pairings & Harmony

Complementary
#000000
Analogous +30°
#000000
Analogous −30°
#000000
Triadic +120°
#000000
Triadic −120°
#000000

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
21.00:1 — AAA pass for normal text
vs. Black (#000000)
1.00:1 — Fail

CSS Snippet

.element {
  color: #000000;
}

.element-bg {
  background-color: #000000;
  color: #ffffff;
}

.element-border {
  border: 2px solid #000000;
}

About Black

Black is a very dark color with very low saturation (nearly achromatic), defined by the hex code #000000. Its exact color model values are rgb(0, 0, 0) in RGB and hsl(0, 0%, 0%) in HSL (hue 0°, saturation 0%, lightness 0%). On a white background the contrast ratio is 21.00:1 — AAA pass for normal text, and on black it is 1.00:1 — Fail. Use Black for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Black?
The RGB value of Black (#000000) is rgb(0, 0, 0). Red = rgb(0, 0, 0), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Black accessible on a white background?
The contrast ratio of Black on white (#FFFFFF) is 21.00:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 1.00:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Black?
Based on color theory, Black (hsl(0, 0%, 0%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.