#CF06A1

#cf06a1 ≈ Medium Violet Red

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

#cf06a1 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 63.14% blue; printed in CMYK it uses 0% cyan, 97.1% magenta, 22.22% yellow and 18.82% black. Its hue angle is 313.73°, 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 5.01: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 #cf06a1 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.1597

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9f5886 ≈ 0.001% of males
Protanopia #2b5ca4 ≈ 1.01% of males
Deuteranopia #6c799d ≈ 1.27% of males
Tritanopia #dd105e ≈ 0.0001% of males
Protanomaly #8c48a3 ≈ 1.08% of males
Deuteranomaly #9d609f ≈ 4.63% of males
Tritanomaly #d70d7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cf06a1  rgb(207, 6, 161)  hsl(314, 94%, 42%)  Medium Violet Red
#06cf34  rgb(6, 207, 52)  hsl(134, 94%, 42%)  Lime Green
#a1cf06  rgb(161, 207, 6)  hsl(74, 94%, 42%)  Yellow Green
#06a1cf  rgb(6, 161, 207)  hsl(194, 94%, 42%)  Bondi Blue