Color values
#000000rgb(0, 0, 0)hsl(0 0% 0%)0°, 0%, 0%0%, 0%, 0%, 100%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
Black is the standard CSS named color #000000, with all three sRGB channels at zero.
Black is the CSS named color keyword black, standardized at #000000 in sRGB.
#000000rgb(0, 0, 0)hsl(0 0% 0%)0°, 0%, 0%0%, 0%, 0%, 100%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
AA normal text: black fails; white passes.
AA large text: black fails; white passes.
WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.
These steps are computed by RGB-mixing #000000 toward white or black. They are generated values, not official named colors.
#CCCCCC #999999 #666666 #333333 #000000 #000000 #000000 #000000 #000000 Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #FFFFFF;
background-color: black;
} You can use either black or #000000 in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #000000 with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.