#hexpedia

Closest to Brown

#7F1D1D

Color conversions

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

FormatValueCopy
HEX7F1D1D
HEX with ##7F1D1D
RGBrgb(127, 29, 29)
RGBArgba(127, 29, 29, 1)
HSLhsl(0 62.82% 30.59%)
HSLAhsla(0, 62.82%, 30.59%, 1)
HSVhsv(0, 77.17%, 49.8%)
CMYKcmyk(0%, 77.17%, 77.17%, 50.2%)
OKLCHoklch(39.58% 0.1331 25.72)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

10.02:1

AAA normal

Black text

2.1:1

Decorative only

Reference notes

#7F1D1D is a deep, clear red color closest to Brown. The color has RGB channels of 127, 29, and 29; in HSL terms, it is centered near 0 degrees with 63% saturation and 31% lightness. In a design system, this warm reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for interfaces that need weight, contrast, or a more formal visual register. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.