Black (#000000)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 21.00:1 — vs black: 1.00:1
Color values
-
HEX
#000000 -
RGB
rgb(0, 0, 0) -
HSL
hsl(0, 0%, 0%) -
CMYK
cmyk( 0, 0, 0, 100 ) -
Websafe
#000000
Tags
Mood
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #000000 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#000000
Base
#000000
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#000000
Base
#0D0D0D
#141414
#262626
#4D4D4D
Darker shades and lighter tints of Black, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#0D0D0D
#0D0D0D
#0D0D0D
#0D0D0D
#0D0D0D
#000000
Base
#303030
#616161
#919191
#C2C2C2
#F2F2F2
Ready-to-use code snippets for #000000. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #000000;
}
/* Text */
.element {
color: #000000;
}
/* Border */
.element {
border: 1px solid #000000;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#000000,
#000000
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#000000,
#000000
);
}
// SCSS variable
$black: #000000;
// With RGB channels (useful for rgba() usage)
$black-r: 0;
$black-g: 0;
$black-b: 0;
// Usage
.element {
background-color: $black;
color: rgba($black-r, $black-g, $black-b, 0.8);
}
How Black appears to people with different types of color vision deficiency.
#000000
How the color appears with full color vision.
#000000
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#000000
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#000000
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#000000
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.