#000000 color codes
- HEX
- #000000
- HEX8
- #000000FF
- HEX8 (Android)
- #FF000000
- RGB
- rgb(0, 0, 0)
- RGB (%)
- 0%, 0%, 0%
- HSL
- hsl(0, 0%, 0%)
- HSV / HSB
- hsv(0, 0%, 0%)
- CMYK
- cmyk(0%, 0%, 0%, 100%)
- OKLCH
- oklch(0 0 0)
- OKLCH (%)
- oklch(0% 0 0)
- Decimal
- 0
What color is #000000?
#000000 sits at 0% lightness and 0 chroma in OKLCH, hue 0°. Its nearest named color is Black (an exact match).
Shades and tints of #000000
Tints
Shades
Tones
#000000 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #000000 in CSS
.text { color: #000000; }
.background { background-color: #000000; }
.border { border: 2px solid #000000; }
/* Modern, perceptually uniform */
.text { color: oklch(0 0 0); }
/* #000000 at 50% transparency */
.overlay { background-color: #00000080; }Is #000000 accessible?
#000000 on white text scores 21.00:1; on black text it scores 1.00:1. White text passes WCAG AAA on #000000. Recommended text color on a #000000 background: white.
A 1:1 vs black
A 21:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#000000) → white APCA Lc experimental 107.9 Lc · body text — preferred (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
See more in the black family on the colors hub.
Frequently asked questions
- What color is #000000?
- #000000 is Black. In RGB it is rgb(0, 0, 0), and in HSL hsl(0, 0%, 0%).
- What is #000000 in RGB?
- #000000 converts to rgb(0, 0, 0) — red 0, green 0, blue 0.
- What text color is readable on #000000?
- White text — it has the higher contrast ratio (21.00:1) against #000000. White text passes WCAG AAA on #000000.