Color codes
- HEX
- #000000
- RGB
- rgb(0, 0, 0)
- HSL
- hsl(0 0% 0%)
- CMYK
- cmyk(0% 0% 0% 100%)
- OKLCH
- oklch(0% 0 0)
CSS named color
rgb(0, 0, 0)
21.00:1 on white
AAA for normal and large text
1.00:1 on black
Fails WCAG AA
black is written as #000000 in hex, rgb(0, 0, 0) in RGB and hsl(0 0% 0%) in HSL. Its lightness sits at 0%, which is why it reads aaa for normal and large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.