Web Safe Color
Copy-ready color values
HEX
#CC0099RGB
rgb(204, 0, 153)HSL
hsl(315, 100%, 40%)HSV
hsv(315, 100%, 80%)CMYK approx.
cmyk(0, 100, 25, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #CC0099 | |
| RGB | rgb(204, 0, 153) | |
| HSL | hsl(315, 100%, 40%) | |
| HSV | hsv(315, 100%, 80%) | |
| CMYK approx. | cmyk(0, 100, 25, 20) | |
| CSS keyword | cc0099 |
Contrast and classification
DarkLightness5.21:1Contrast with white4.03:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#D11AA3
White 30%#DB4DB8
White 70%#F0B3E0
White 90%#FAE6F5
Black 10%#B8008A
Black 30%#8F006B
Black 70%#3D002E
Black 90%#14000F
Harmony palettes
Complementary
#33FF66#64FF8BAnalogous
#B4009F#CC1287Triadic
#0099CC#99CC00Split complementary
#58FF82#2AD154Using Cc0099
Cc0099 works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-cc0099: #cc0099;
}
.button-primary {
background: var(--color-cc0099);
color: #ffffff;
}
$cc0099: #cc0099;
// Tailwind arbitrary value
class="bg-[#cc0099] text-white"