Black color #000000
Black is one of the CSS named colors (keyword black) with the hex code #000000 — RGB 0, 0, 0, HSL 0°, 0%, 0%.
#000000Black
Color codes
- HEX
#000000- RGB
rgb(0, 0, 0)- HSL
hsl(0, 0%, 0%)- CMYK
0%, 0%, 0%, 100%- OKLCH
oklch(0% 0 0)- CSS keyword
black
Tints and shades
#F5F5F5#DADADA#BFBFBF#A6A6A6#8D8D8D#747474#5D5D5D#464646#313131#1D1D1D#0B0B0B
Color harmonies
Complementary
#000000#000000
Analogous
#000000#000000#000000
Triadic
#000000#000000#000000
Split complementary
#000000#000000#000000
Tetradic
#000000#000000#000000#000000
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Black text on white | 21.00 : 1 | 106 | AAA — any text |
| Black text on black | 1.00 : 1 | 0 | Fails for text |
| White text on Black | 21.00 : 1 | -108 | AAA — any text |
| Black text on Black | 1.00 : 1 | 0 | Fails for text |
Frequently asked questions
What is the hex code of Black?
Black has the hex code #000000, which is RGB 0, 0, 0 and HSL 0°, 0%, 0%.
Which text color reads best on Black?
White text: contrast 21.00 : 1 (black text: 1.00 : 1).
Which colors go well with Black?
Its complementary color is #000000; analogous colors are #000000 and #000000; a triadic set adds #000000 and #000000.
Similar colors
- Almost Black #070D0D
- Very Dark Brown #1D0200
- Midnight #03012D
- Night Blue #040348
- Midnight Purple #280137
- Navy Blue #001146
- Dark Maroon #3C0008
- Deep Brown #410200
- Dark Brown #341C02
- Dark Plum #3F012C
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)