Web Safe Color
Copy-ready color values
HEX
#CC0000RGB
rgb(204, 0, 0)HSL
hsl(0, 100%, 40%)HSV
hsv(0, 100%, 80%)CMYK approx.
cmyk(0, 100, 100, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #CC0000 | |
| RGB | rgb(204, 0, 0) | |
| HSL | hsl(0, 100%, 40%) | |
| HSV | hsv(0, 100%, 80%) | |
| CMYK approx. | cmyk(0, 100, 100, 20) | |
| CSS keyword | cc0000 |
Contrast and classification
DarkLightness5.89:1Contrast with white3.57:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#D11A1A
White 30%#DB4D4D
White 70%#F0B3B3
White 90%#FAE6E6
Black 10%#B80000
Black 30%#8F0000
Black 70%#3D0000
Black 90%#140000
Harmony palettes
Complementary
#33FFFF#64FFFFAnalogous
#B40018#CC0000Triadic
#0000CC#00CC00Split complementary
#58FFFF#2AD1D1Using Cc0000
Cc0000 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-cc0000: #cc0000;
}
.button-primary {
background: var(--color-cc0000);
color: #ffffff;
}
$cc0000: #cc0000;
// Tailwind arbitrary value
class="bg-[#cc0000] text-white"