#9D31A5
Pink
HEX
RGB
HSL
About #9D31A5 Pink
#9D31A5 is a pink color. In the RGB color model, it is composed of 157 red, 49 green, and 165 blue. In the HSL color space, it has a hue of 296°, saturation of 54%, and lightness of 42%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #9D31A5 in your CSS, SCSS, or Tailwind projects.
Color Properties
296°
Hue
54%
Saturation
42%
Lightness
Pink
Color Harmonies
Colors that work well with #9D31A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9D31A5 against white and black backgrounds.
Aa#9D31A5 on White
Contrast Ratio6.15:1
AA ✓AA Large ✓AAA ✗
Aa#9D31A5 on Black
Contrast Ratio3.42:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9D31A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #9D31A5 |
| RGB | rgb(157, 49, 165) |
| HSL | hsl(296, 54%, 42%) |
| RGB Decimal | 157, 49, 165 |
| RGB Percent | 61.6%, 19.2%, 64.7% |
| CMYK (approx.) | 5%, 70%, 0%, 35% |
Related Palettes
12 palettes using #9D31A5 or similar colors