#1F1F1F
Black
HEX
RGB
HSL
About #1F1F1F Black
#1F1F1F is a black color. In the RGB color model, it is composed of 31 red, 31 green, and 31 blue. In the HSL color space, it has a hue of 0°, saturation of 0%, and lightness of 12%.
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 #1F1F1F in your CSS, SCSS, or Tailwind projects.
Color Properties
0°
Hue
0%
Saturation
12%
Lightness
Black
Color Harmonies
Colors that work well with #1F1F1F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F1F1F against white and black backgrounds.
Aa#1F1F1F on White
Contrast Ratio16.48:1
AA ✓AA Large ✓AAA ✓
Aa#1F1F1F on Black
Contrast Ratio1.27:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F1F1F across different color formats.
| Format | Value |
|---|---|
| HEX | #1F1F1F |
| RGB | rgb(31, 31, 31) |
| HSL | hsl(0, 0%, 12%) |
| RGB Decimal | 31, 31, 31 |
| RGB Percent | 12.2%, 12.2%, 12.2% |
| CMYK (approx.) | 0%, 0%, 0%, 88% |
Related Palettes
12 palettes using #1F1F1F or similar colors