#400840
Dark Pink
HEX
RGB
HSL
About #400840 Dark Pink
#400840 is a dark pink color. In the RGB color model, it is composed of 64 red, 8 green, and 64 blue. In the HSL color space, it has a hue of 300°, saturation of 78%, and lightness of 14%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #400840 in your CSS, SCSS, or Tailwind projects.
Color Properties
300°
Hue
78%
Saturation
14%
Lightness
Dark Pink
Color Harmonies
Colors that work well with #400840 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #400840 against white and black backgrounds.
Aa#400840 on White
Contrast Ratio15.83:1
AA ✓AA Large ✓AAA ✓
Aa#400840 on Black
Contrast Ratio1.33:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #400840 across different color formats.
| Format | Value |
|---|---|
| HEX | #400840 |
| RGB | rgb(64, 8, 64) |
| HSL | hsl(300, 78%, 14%) |
| RGB Decimal | 64, 8, 64 |
| RGB Percent | 25.1%, 3.1%, 25.1% |
| CMYK (approx.) | 0%, 88%, 0%, 75% |
Related Palettes
12 palettes using #400840 or similar colors