#CD01A6

#cd01a6 ≈ Medium Violet Red

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

#cd01a6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.39% green and 65.1% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 19.02% yellow and 19.61% black. Its hue angle is 311.47°, with 99.03% saturation and 40.39% 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.09.

Description generated from the measured properties of this color.

Conversions of #cd01a6 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.1575

Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d5788 ≈ 0.001% of males
Protanopia #215ca9 ≈ 1.01% of males
Deuteranopia #6878a2 ≈ 1.27% of males
Tritanopia #da1761 ≈ 0.0001% of males
Protanomaly #8a48a8 ≈ 1.08% of males
Deuteranomaly #9b5fa4 ≈ 4.63% of males
Tritanomaly #d51082 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd01a6 {
  color: #cd01a6;
}
Background
.bg-cd01a6 {
  background-color: #cd01a6;
  color: #ffffff;
}
Border
.border-cd01a6 {
  border: 2px solid #cd01a6;
}
CSS variables
:root {
  --color-primary: #cd01a6;
  --color-primary-rgb: 205 1 166;
  --color-primary-hsl: 311 99% 40%;
}
Gradient
.gradient-cd01a6 {
  background: linear-gradient(135deg, #cd01a6, #cd0140);
}
Colored shadow
.shadow-cd01a6 {
  box-shadow: 0 8px 24px rgb(205 1 166 / 0.35);
}

Medium Violet Red
#cd01a6  rgb(205, 1, 166)  hsl(311, 99%, 40%)  Medium Violet Red
#01cd28  rgb(1, 205, 40)  hsl(131, 99%, 40%)  Lime Green
#a6cd01  rgb(166, 205, 1)  hsl(71, 99%, 40%)  Yellow Green
#01a6cd  rgb(1, 166, 205)  hsl(191, 99%, 40%)  Bondi Blue