#CD01A1

#cd01a1 ≈ Medium Violet Red

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

#cd01a1 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 63.14% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 21.46% yellow and 19.61% black. Its hue angle is 312.94°, 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.1:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.22.

Description generated from the measured properties of this color.

Conversions of #cd01a1 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.1557

Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9d5685 ≈ 0.001% of males
Protanopia #275ba4 ≈ 1.01% of males
Deuteranopia #6a789d ≈ 1.27% of males
Tritanopia #da105e ≈ 0.0001% of males
Protanomaly #8b47a3 ≈ 1.08% of males
Deuteranomaly #9c5e9f ≈ 4.63% of males
Tritanomaly #d50a7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd01a1  rgb(205, 1, 161)  hsl(313, 99%, 40%)  Medium Violet Red
#01cd2d  rgb(1, 205, 45)  hsl(133, 99%, 40%)  Lime Green
#a1cd01  rgb(161, 205, 1)  hsl(73, 99%, 40%)  Yellow Green
#01a1cd  rgb(1, 161, 205)  hsl(193, 99%, 40%)  Bondi Blue