#121212
Black
HEX
RGB
HSL
About #121212 Black
#121212 is a black color. In the RGB color model, it is composed of 18 red, 18 green, and 18 blue. In the HSL color space, it has a hue of 0°, saturation of 0%, and lightness of 7%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #121212 in your CSS, SCSS, or Tailwind projects.
Color Properties
0°
Hue
0%
Saturation
7%
Lightness
Black
Color Harmonies
Colors that work well with #121212 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #121212 against white and black backgrounds.
Aa#121212 on White
Contrast Ratio18.73:1
AA ✓AA Large ✓AAA ✓
Aa#121212 on Black
Contrast Ratio1.12:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #121212 across different color formats.
| Format | Value |
|---|---|
| HEX | #121212 |
| RGB | rgb(18, 18, 18) |
| HSL | hsl(0, 0%, 7%) |
| RGB Decimal | 18, 18, 18 |
| RGB Percent | 7.1%, 7.1%, 7.1% |
| CMYK (approx.) | 0%, 0%, 0%, 93% |
Related Palettes
12 palettes using #121212 or similar colors