#CD00A7

#cd00a7 ≈ Medium Violet Red

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

#cd00a7 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% green and 65.49% blue; printed in CMYK it uses 0% cyan, 100% magenta, 18.54% yellow and 19.61% black. Its hue angle is 311.12°, with 100% saturation and 40.2% 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.27.

Description generated from the measured properties of this color.

Conversions of #cd00a7 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.1577

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 #9d5789 ≈ 0.001% of males
Protanopia #1f5daa ≈ 1.01% of males
Deuteranopia #6778a3 ≈ 1.27% of males
Tritanopia #d91861 ≈ 0.0001% of males
Protanomaly #8a48a9 ≈ 1.08% of males
Deuteranomaly #9b5fa5 ≈ 4.63% of males
Tritanomaly #d51183 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd00a7  rgb(205, 0, 167)  hsl(311, 100%, 40%)  Medium Violet Red
#00cd26  rgb(0, 205, 38)  hsl(131, 100%, 40%)  Lime Green
#a7cd00  rgb(167, 205, 0)  hsl(71, 100%, 40%)  Yellow Green
#00a7cd  rgb(0, 167, 205)  hsl(191, 100%, 40%)  Bondi Blue