#cc0f4e ≈ Ruby
#cc0f4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.88% green and 30.59% blue; printed in CMYK it uses 0% cyan, 92.65% magenta, 61.76% yellow and 20% black. Its hue angle is 340°, with 86.3% saturation and 42.94% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 5.61:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1373 |
Shades
#cc0f4e mixed progressively with black.
Tints
#cc0f4e mixed progressively with white.
Tones
#cc0f4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0f4e {
color: #cc0f4e;
}
.bg-cc0f4e {
background-color: #cc0f4e;
color: #ffffff;
}
.border-cc0f4e {
border: 2px solid #cc0f4e;
}
:root {
--color-primary: #cc0f4e;
--color-primary-rgb: 204 15 78;
--color-primary-hsl: 340 86% 43%;
}
.gradient-cc0f4e {
background: linear-gradient(135deg, #cc0f4e, #cc2e0f);
}
.shadow-cc0f4e {
box-shadow: 0 8px 24px rgb(204 15 78 / 0.35);
}
Ruby
#cc0f4e rgb(204, 15, 78) hsl(340, 86%, 43%) Ruby
#0fcc8d rgb(15, 204, 141) hsl(160, 86%, 43%) Caribbean Green
#4ecc0f rgb(78, 204, 15) hsl(100, 86%, 43%) Lime Green
#0f4ecc rgb(15, 78, 204) hsl(220, 86%, 43%) Sapphire