#CD0D9F

#cd0d9f ≈ Medium Violet Red

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

#cd0d9f is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 5.1% green and 62.35% blue; printed in CMYK it uses 0% cyan, 93.66% magenta, 22.44% yellow and 19.61% black. Its hue angle is 314.38°, with 88.07% saturation and 42.75% 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 4.82.

Description generated from the measured properties of this color.

Conversions of #cd0d9f 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 #9d5785 ≈ 0.001% of males
Protanopia #2d5ca2 ≈ 1.01% of males
Deuteranopia #6c799b ≈ 1.27% of males
Tritanopia #da145e ≈ 0.0001% of males
Protanomaly #8b49a1 ≈ 1.08% of males
Deuteranomaly #9c5f9d ≈ 4.63% of males
Tritanomaly #d5127d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0d9f  rgb(205, 13, 159)  hsl(314, 88%, 43%)  Medium Violet Red
#0dcd3b  rgb(13, 205, 59)  hsl(134, 88%, 43%)  Lime Green
#9fcd0d  rgb(159, 205, 13)  hsl(74, 88%, 43%)  Yellow Green
#0d9fcd  rgb(13, 159, 205)  hsl(194, 88%, 43%)  Bondi Blue