Black — Color Codes & Palette
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)
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 →