#CF06AD

#cf06ad ≈ Medium Violet Red

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

#cf06ad 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.84% blue; printed in CMYK it uses 0% cyan, 97.1% magenta, 16.43% yellow and 18.82% black. Its hue angle is 310.15°, 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.9:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.2.

Description generated from the measured properties of this color.

Conversions of #cf06ad 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.1641

Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9f598d ≈ 0.001% of males
Protanopia #1c5fb1 ≈ 1.01% of males
Deuteranopia #677aa9 ≈ 1.27% of males
Tritanopia #db2065 ≈ 0.0001% of males
Protanomaly #8b4aaf ≈ 1.08% of males
Deuteranomaly #9c60ab ≈ 4.63% of males
Tritanomaly #d61888 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cf06ad  rgb(207, 6, 173)  hsl(310, 94%, 42%)  Medium Violet Red
#06cf28  rgb(6, 207, 40)  hsl(130, 94%, 42%)  Lime Green
#adcf06  rgb(173, 207, 6)  hsl(70, 94%, 42%)  Yellow Green
#06adcf  rgb(6, 173, 207)  hsl(190, 94%, 42%)  Bondi Blue