#cb318e ≈ Medium Violet Red
#cb318e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 19.22% green and 55.69% blue; printed in CMYK it uses 0% cyan, 75.86% magenta, 30.05% yellow and 20.39% black. Its hue angle is 323.77°, with 61.11% saturation and 49.41% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 4.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.39.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1685 |
Shades
#cb318e mixed progressively with black.
Tints
#cb318e mixed progressively with white.
Tones
#cb318e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb318e {
color: #cb318e;
}
.bg-cb318e {
background-color: #cb318e;
color: #ffffff;
}
.border-cb318e {
border: 2px solid #cb318e;
}
:root {
--color-primary: #cb318e;
--color-primary-rgb: 203 49 142;
--color-primary-hsl: 324 61% 49%;
}
.gradient-cb318e {
background: linear-gradient(135deg, #cb318e, #cb3141);
}
.shadow-cb318e {
box-shadow: 0 8px 24px rgb(203 49 142 / 0.35);
}
Medium Violet Red
#cb318e rgb(203, 49, 142) hsl(324, 61%, 49%) Medium Violet Red
#31cb6e rgb(49, 203, 110) hsl(144, 61%, 49%) Emerald
#8ecb31 rgb(142, 203, 49) hsl(84, 61%, 49%) Yellow Green
#318ecb rgb(49, 142, 203) hsl(204, 61%, 49%) Bleu de France