#hexpedia

Closest to Black

#181717

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX181717
HEX with ##181717
RGBrgb(24, 23, 23)
RGBArgba(24, 23, 23, 1)
HSLhsl(0 2.13% 9.22%)
HSLAhsla(0, 2.13%, 9.22%, 1)
HSVhsv(0, 4.17%, 9.41%)
CMYKcmyk(0%, 4.17%, 4.17%, 90.59%)
OKLCHoklch(20.58% 0.0016 17.29)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

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.