#512A1F
Dark Red
HEX
RGB
HSL
About #512A1F Dark Red
#512A1F is a dark red color. In the RGB color model, it is composed of 81 red, 42 green, and 31 blue. In the HSL color space, it has a hue of 13°, saturation of 45%, and lightness of 22%.
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
Use #512A1F in your CSS, SCSS, or Tailwind projects.
Color Properties
13°
Hue
45%
Saturation
22%
Lightness
Dark Red
Color Harmonies
Colors that work well with #512A1F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #512A1F against white and black backgrounds.
Aa#512A1F on White
Contrast Ratio12.35:1
AA ✓AA Large ✓AAA ✓
Aa#512A1F on Black
Contrast Ratio1.7:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #512A1F across different color formats.
| Format | Value |
|---|---|
| HEX | #512A1F |
| RGB | rgb(81, 42, 31) |
| HSL | hsl(13, 45%, 22%) |
| RGB Decimal | 81, 42, 31 |
| RGB Percent | 31.8%, 16.5%, 12.2% |
| CMYK (approx.) | 0%, 48%, 62%, 68% |
Related Palettes
12 palettes using #512A1F or similar colors