#C212AD

#c212ad ≈ Medium Violet Red

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

#c212ad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 7.06% green and 67.84% blue; printed in CMYK it uses 0% cyan, 90.72% magenta, 10.82% yellow and 23.92% black. Its hue angle is 307.16°, with 83.02% saturation and 41.57% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.

Description generated from the measured properties of this color.

Conversions of #c212ad 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.1492

Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #96558b ≈ 0.001% of males
Protanopia #0a5cb1 ≈ 1.01% of males
Deuteranopia #5c74a9 ≈ 1.27% of males
Tritanopia #cc2c66 ≈ 0.0001% of males
Protanomaly #8049af ≈ 1.08% of males
Deuteranomaly #905cab ≈ 4.63% of males
Tritanomaly #c82488 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c212ad {
  color: #c212ad;
}
Background
.bg-c212ad {
  background-color: #c212ad;
  color: #ffffff;
}
Border
.border-c212ad {
  border: 2px solid #c212ad;
}
CSS variables
:root {
  --color-primary: #c212ad;
  --color-primary-rgb: 194 18 173;
  --color-primary-hsl: 307 83% 42%;
}
Gradient
.gradient-c212ad {
  background: linear-gradient(135deg, #c212ad, #c21255);
}
Colored shadow
.shadow-c212ad {
  box-shadow: 0 8px 24px rgb(194 18 173 / 0.35);
}

Medium Violet Red
#c212ad  rgb(194, 18, 173)  hsl(307, 83%, 42%)  Medium Violet Red
#12c227  rgb(18, 194, 39)  hsl(127, 83%, 42%)  Lime Green
#adc212  rgb(173, 194, 18)  hsl(67, 83%, 42%)  Apple Green
#12adc2  rgb(18, 173, 194)  hsl(187, 83%, 42%)  Cadet Blue