#CC0DAD

#cc0dad ≈ Medium Violet Red

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

#cc0dad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.1% green and 67.84% blue; printed in CMYK it uses 0% cyan, 93.63% magenta, 15.2% yellow and 20% black. Its hue angle is 309.74°, with 88.02% saturation and 42.55% 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 4.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.3.

Description generated from the measured properties of this color.

Conversions of #cc0dad 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.1614

Readable text 4.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9d588c ≈ 0.001% of males
Protanopia #1a5fb1 ≈ 1.01% of males
Deuteranopia #6579a9 ≈ 1.27% of males
Tritanopia #d72566 ≈ 0.0001% of males
Protanomaly #884baf ≈ 1.08% of males
Deuteranomaly #9960ab ≈ 4.63% of males
Tritanomaly #d31d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cc0dad  rgb(204, 13, 173)  hsl(310, 88%, 43%)  Medium Violet Red
#0dcc2c  rgb(13, 204, 44)  hsl(130, 88%, 43%)  Lime Green
#adcc0d  rgb(173, 204, 13)  hsl(70, 88%, 43%)  Yellow Green
#0dadcc  rgb(13, 173, 204)  hsl(190, 88%, 43%)  Bondi Blue