Closest to Black
#181717
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 181717 | ||
| HEX with # | #181717 | ||
| RGB | rgb(24, 23, 23) | ||
| RGBA | rgba(24, 23, 23, 1) | ||
| HSL | hsl(0 2.13% 9.22%) | ||
| HSLA | hsla(0, 2.13%, 9.22%, 1) | ||
| HSV | hsv(0, 4.17%, 9.41%) | ||
| CMYK | cmyk(0%, 4.17%, 4.17%, 90.59%) | ||
| OKLCH | oklch(20.58% 0.0016 17.29) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #181717;
bg-[#181717]
Accessibility quick-check
White text
17.89:1
AAA normal
Black text
1.17:1
Decorative only
Reference notes
As a reference color, #181717 reads as very deep red, with Black as its nearest named anchor. Because the hue is approximately 0 degrees, it belongs to the red family rather than a neutral family, even when used in small interface details. When documenting the color, keep the hex value as the canonical reference and treat the neutral family label as a practical visual description rather than a fixed rule. The contrast checks on this page show whether it is more reliable with black text or white text, which is usually the first practical decision before using the color in UI. The modification grid is useful for finding a border, hover, or background companion without changing the underlying hue family too aggressively. For data visualization, avoid relying on this color alone; combine it with spacing, labels, or pattern differences so meaning is not carried only by hue. Use it for interfaces that need weight, contrast, or a more formal visual register. Check contrast before placing body text on top of it, and pair it with nearby analogous colors when the design should stay calm.