#540F52
Dark Pink
HEX
RGB
HSL
About #540F52 Dark Pink
#540F52 is a dark pink color. In the RGB color model, it is composed of 84 red, 15 green, and 82 blue. In the HSL color space, it has a hue of 302°, saturation of 70%, and lightness of 19%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #540F52 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
302°
Hue
70%
Saturation
19%
Lightness
Dark Pink
Color Harmonies
Colors that work well with #540F52 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #540F52 against white and black backgrounds.
Aa#540F52 on White
Contrast Ratio13.4:1
AA ✓AA Large ✓AAA ✓
Aa#540F52 on Black
Contrast Ratio1.57:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #540F52 across different color formats.
| Format | Value |
|---|---|
| HEX | #540F52 |
| RGB | rgb(84, 15, 82) |
| HSL | hsl(302, 70%, 19%) |
| RGB Decimal | 84, 15, 82 |
| RGB Percent | 32.9%, 5.9%, 32.2% |
| CMYK (approx.) | 0%, 82%, 2%, 67% |
Related Palettes
12 palettes using #540F52 or similar colors