AfoliOpen Afoli →

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%.

Open in Afoli Colour tools →

#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

PairWCAG 2.x ratioAPCA LcResult
Black text on white21.00 : 1106AAA — any text
Black text on black1.00 : 10Fails for text
White text on Black21.00 : 1-108AAA — any text
Black text on Black1.00 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large 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

Sources and licences

Updated November 21, 2026