#C51162 - Secret Affair
Hex color #C51162 is called Secret Affair. It consists of 77% red, 7% green, and 38% blue in RGB color space. In CMYK it is 0% cyan, 91% magenta, 50% yellow, and 23% black. In HSL it is 333° hue, 84% saturation, and 42% 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 | Secret Affair | — |
| HEX | #C51162 | #C51162 |
| HEXA | #C51162FF | #C51162FF |
| RGB | 197, 17, 98 | rgb(197, 17, 98) |
| RGBA | 197, 17, 98, 1 | rgba(197, 17, 98, 1) |
| HSL | 333%, 84%, 42% | hsl(333%, 84%, 42%) |
| CMYK | 0%, 91%, 50%, 23% | cmyk(0%, 91%, 50%, 23%) |
| CSS Name | — | — |
| Tailwind Name | pink-700-accent | — |
| Lightness | 42% (dark) | — |
As you see on the table, not all names are available for this color.
- The closest color with CSS name is #c71585 (mediumvioletred)
Negative color
The color opposite to #C51162 is #3AEE9D.
Preview on black and white
As #C51162 has 42% lightness, this color is dark, so it has more contrast with white.
#C51162 On White Background
#C51162
#C51162
Text Color
This is how text looks with this color.
#C51162 On Black Background
#C51162
#C51162
Text Color
This is how text looks with this color.
Transform color
197, 17, 98rgb(197, 17, 98)