#111111
Gray 2
#111111 is the CSS named color "black", an exact match. In RGB it breaks down to red 17, green 17, and blue 17 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 7% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.
Every format
| HEX | #111111 |
| RGB | rgb(17, 17, 17) |
| HSL | hsl(0° 0% 7%) |
| HSB | hsb(0° 0% 7%) |
| OKLCH | oklch(18% 0.000 0°) |
| OKLAB | oklab(18% 0.000 0.000) |
| LCH | lch(5% 0.0 0°) |
| CMYK | cmyk(0% 0% 0% 93%) |
Shades (darker)
#111111 · #0e0e0e · #0b0b0b · #080808 · #060606
Tints (lighter)
#111111 · #242424 · #383838 · #4e4e4e · #656565
Shades mix #111111 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 18.88:1 — AAA
On black: 1.11:1 — fails
Frequently asked
- What is #111111 in RGB?
- #111111 is rgb(17, 17, 17) — red 17, green 17, blue 17 out of 255 each.
- Does #111111 pass WCAG contrast on a white background?
- It has a contrast ratio of 18.88:1 against white, which passes WCAG AAA for normal text.
- What's a good background color to pair with #111111?
- White text or a white background gives better contrast (18.88:1) than black (1.11:1).