#CD0FA1

#cd0fa1 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cd0fa1 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 5.88% green and 63.14% blue; printed in CMYK it uses 0% cyan, 92.68% magenta, 21.46% yellow and 19.61% black. Its hue angle is 313.89°, with 86.36% saturation and 43.14% 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #cd0fa1 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.1589

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9e5886 ≈ 0.001% of males
Protanopia #2c5da4 ≈ 1.01% of males
Deuteranopia #6b799d ≈ 1.27% of males
Tritanopia #da185f ≈ 0.0001% of males
Protanomaly #8b49a3 ≈ 1.08% of males
Deuteranomaly #9c609f ≈ 4.63% of males
Tritanomaly #d5157f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0fa1 {
  color: #cd0fa1;
}
Background
.bg-cd0fa1 {
  background-color: #cd0fa1;
  color: #ffffff;
}
Border
.border-cd0fa1 {
  border: 2px solid #cd0fa1;
}
CSS variables
:root {
  --color-primary: #cd0fa1;
  --color-primary-rgb: 205 15 161;
  --color-primary-hsl: 314 86% 43%;
}
Gradient
.gradient-cd0fa1 {
  background: linear-gradient(135deg, #cd0fa1, #cd0f42);
}
Colored shadow
.shadow-cd0fa1 {
  box-shadow: 0 8px 24px rgb(205 15 161 / 0.35);
}

Medium Violet Red
#cd0fa1  rgb(205, 15, 161)  hsl(314, 86%, 43%)  Medium Violet Red
#0fcd3b  rgb(15, 205, 59)  hsl(134, 86%, 43%)  Lime Green
#a1cd0f  rgb(161, 205, 15)  hsl(74, 86%, 43%)  Yellow Green
#0fa1cd  rgb(15, 161, 205)  hsl(194, 86%, 43%)  Bondi Blue