#hexpedia

Closest to Medium Violet Red

#9D174D

Color conversions

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

FormatValueCopy
HEX9D174D
HEX with ##9D174D
RGBrgb(157, 23, 77)
RGBArgba(157, 23, 77, 1)
HSLhsl(335.82 74.44% 35.29%)
HSLAhsla(335.82, 74.44%, 35.29%, 1)
HSVhsv(335.82, 85.35%, 61.57%)
CMYKcmyk(0%, 85.35%, 50.96%, 38.43%)
OKLCHoklch(45.87% 0.1697 3.82)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

7.88:1

AAA normal

Black text

2.66:1

Decorative only

Reference notes

#9D174D is a deep, saturated rose color closest to Medium Violet Red. The color has RGB channels of 157, 23, and 77; in HSL terms, it is centered near 336 degrees with 74% saturation and 35% 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 badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.