#512D66 - Petunia
Hex color #512D66 is called Petunia. It consists of 32% red, 18% green, and 40% blue in RGB color space. In CMYK it is 21% cyan, 56% magenta, 0% yellow, and 60% black. In HSL it is 278° hue, 39% saturation, and 29% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Petunia | — |
| HEX | #512D66 | #512D66 |
| HEXA | #512D66FF | #512D66FF |
| RGB | 81, 45, 102 | rgb(81, 45, 102) |
| RGBA | 81, 45, 102, 1 | rgba(81, 45, 102, 1) |
| HSL | 278%, 39%, 29% | hsl(278%, 39%, 29%) |
| CMYK | 21%, 56%, 0%, 60% | cmyk(21%, 56%, 0%, 60%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 29% (dark) | — |
Negative color
The color opposite to #512D66 is #AED299.
Preview on black and white
As #512D66 has 29% lightness, this color is dark, so it has more contrast with white.
#512D66 On White Background
#512D66
#512D66
Text Color
This is how text looks with this color.
#512D66 On Black Background
#512D66
#512D66
Text Color
This is how text looks with this color.
Transform color
81, 45, 102rgb(81, 45, 102)