#CF0CB4

#cf0cb4 ≈ Medium Violet Red

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

#cf0cb4 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 70.59% blue; printed in CMYK it uses 0% cyan, 94.2% magenta, 13.04% yellow and 18.82% black. Its hue angle is 308.31°, 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.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.35.

Description generated from the measured properties of this color.

Conversions of #cf0cb4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1682

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a05a91 ≈ 0.001% of males
Protanopia #1061b8 ≈ 1.01% of males
Deuteranopia #647bb0 ≈ 1.27% of males
Tritanopia #da296a ≈ 0.0001% of males
Protanomaly #8a4db6 ≈ 1.08% of males
Deuteranomaly #9b61b2 ≈ 4.63% of males
Tritanomaly #d6208e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cf0cb4  rgb(207, 12, 180)  hsl(308, 89%, 43%)  Medium Violet Red
#0ccf27  rgb(12, 207, 39)  hsl(128, 89%, 43%)  Lime Green
#b4cf0c  rgb(180, 207, 12)  hsl(68, 89%, 43%)  Pear
#0cb4cf  rgb(12, 180, 207)  hsl(188, 89%, 43%)  Moonstone Blue