#CF06AB

#cf06ab ≈ Medium Violet Red

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

#cf06ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 2.35% green and 67.06% blue; printed in CMYK it uses 0% cyan, 97.1% magenta, 17.39% yellow and 18.82% black. Its hue angle is 310.75°, with 94.37% saturation and 41.76% 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.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.86.

Description generated from the measured properties of this color.

Conversions of #cf06ab 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.1634

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9f598c ≈ 0.001% of males
Protanopia #1f5fae ≈ 1.01% of males
Deuteranopia #687aa7 ≈ 1.27% of males
Tritanopia #db1e64 ≈ 0.0001% of males
Protanomaly #8b4aad ≈ 1.08% of males
Deuteranomaly #9c60a9 ≈ 4.63% of males
Tritanomaly #d61786 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf06ab {
  color: #cf06ab;
}
Background
.bg-cf06ab {
  background-color: #cf06ab;
  color: #ffffff;
}
Border
.border-cf06ab {
  border: 2px solid #cf06ab;
}
CSS variables
:root {
  --color-primary: #cf06ab;
  --color-primary-rgb: 207 6 171;
  --color-primary-hsl: 311 94% 42%;
}
Gradient
.gradient-cf06ab {
  background: linear-gradient(135deg, #cf06ab, #cf0646);
}
Colored shadow
.shadow-cf06ab {
  box-shadow: 0 8px 24px rgb(207 6 171 / 0.35);
}

Medium Violet Red
#cf06ab  rgb(207, 6, 171)  hsl(311, 94%, 42%)  Medium Violet Red
#06cf2a  rgb(6, 207, 42)  hsl(131, 94%, 42%)  Lime Green
#abcf06  rgb(171, 207, 6)  hsl(71, 94%, 42%)  Yellow Green
#06abcf  rgb(6, 171, 207)  hsl(191, 94%, 42%)  Bondi Blue