#ca0fb1 ≈ Medium Violet Red
#ca0fb1 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 5.88% green and 69.41% blue; printed in CMYK it uses 0% cyan, 92.57% magenta, 12.38% yellow and 20.78% black. Its hue angle is 308.02°, with 86.18% saturation and 42.55% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1607 |
Shades
#ca0fb1 mixed progressively with black.
Tints
#ca0fb1 mixed progressively with white.
Tones
#ca0fb1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca0fb1 {
color: #ca0fb1;
}
.bg-ca0fb1 {
background-color: #ca0fb1;
color: #ffffff;
}
.border-ca0fb1 {
border: 2px solid #ca0fb1;
}
:root {
--color-primary: #ca0fb1;
--color-primary-rgb: 202 15 177;
--color-primary-hsl: 308 86% 43%;
}
.gradient-ca0fb1 {
background: linear-gradient(135deg, #ca0fb1, #ca0f54);
}
.shadow-ca0fb1 {
box-shadow: 0 8px 24px rgb(202 15 177 / 0.35);
}
Medium Violet Red
#ca0fb1 rgb(202, 15, 177) hsl(308, 86%, 43%) Medium Violet Red
#0fca28 rgb(15, 202, 40) hsl(128, 86%, 43%) Lime Green
#b1ca0f rgb(177, 202, 15) hsl(68, 86%, 43%) Yellow Green
#0fb1ca rgb(15, 177, 202) hsl(188, 86%, 43%) Moonstone Blue