#CF0CA1

#cf0ca1 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cf0ca1 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 4.71% green and 63.14% blue; printed in CMYK it uses 0% cyan, 94.2% magenta, 22.22% yellow and 18.82% black. Its hue angle is 314.15°, with 89.04% saturation and 42.94% 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 5.14.

Description generated from the measured properties of this color.

Conversions of #cf0ca1 into other color spaces
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 luminance0.161

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9f5886 ≈ 0.001% of males
Protanopia #2d5da4 ≈ 1.01% of males
Deuteranopia #6c7a9d ≈ 1.27% of males
Tritanopia #dd145f ≈ 0.0001% of males
Protanomaly #8d49a3 ≈ 1.08% of males
Deuteranomaly #9e609f ≈ 4.63% of males
Tritanomaly #d7117f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0ca1 {
  color: #cf0ca1;
}
Background
.bg-cf0ca1 {
  background-color: #cf0ca1;
  color: #ffffff;
}
Border
.border-cf0ca1 {
  border: 2px solid #cf0ca1;
}
CSS variables
:root {
  --color-primary: #cf0ca1;
  --color-primary-rgb: 207 12 161;
  --color-primary-hsl: 314 89% 43%;
}
Gradient
.gradient-cf0ca1 {
  background: linear-gradient(135deg, #cf0ca1, #cf0c40);
}
Colored shadow
.shadow-cf0ca1 {
  box-shadow: 0 8px 24px rgb(207 12 161 / 0.35);
}

Medium Violet Red
#cf0ca1  rgb(207, 12, 161)  hsl(314, 89%, 43%)  Medium Violet Red
#0ccf3a  rgb(12, 207, 58)  hsl(134, 89%, 43%)  Lime Green
#a1cf0c  rgb(161, 207, 12)  hsl(74, 89%, 43%)  Yellow Green
#0ca1cf  rgb(12, 161, 207)  hsl(194, 89%, 43%)  Bondi Blue