#C21189

#c21189 ≈ Medium Violet Red

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

#c21189 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 6.67% green and 53.73% blue; printed in CMYK it uses 0% cyan, 91.24% magenta, 29.38% yellow and 23.92% black. Its hue angle is 319.32°, with 83.89% saturation and 41.37% 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.62:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.81.

Description generated from the measured properties of this color.

Conversions of #c21189 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.1368

Readable text 5.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.74:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #945276 ≈ 0.001% of males
Protanopia #36558c ≈ 1.01% of males
Deuteranopia #6b7285 ≈ 1.27% of males
Tritanopia #d00051 ≈ 0.0001% of males
Protanomaly #86438b ≈ 1.08% of males
Deuteranomaly #965a87 ≈ 4.63% of males
Tritanomaly #cb076c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c21189 {
  color: #c21189;
}
Background
.bg-c21189 {
  background-color: #c21189;
  color: #ffffff;
}
Border
.border-c21189 {
  border: 2px solid #c21189;
}
CSS variables
:root {
  --color-primary: #c21189;
  --color-primary-rgb: 194 17 137;
  --color-primary-hsl: 319 84% 41%;
}
Gradient
.gradient-c21189 {
  background: linear-gradient(135deg, #c21189, #c21131);
}
Colored shadow
.shadow-c21189 {
  box-shadow: 0 8px 24px rgb(194 17 137 / 0.35);
}

Medium Violet Red
#c21189  rgb(194, 17, 137)  hsl(319, 84%, 41%)  Medium Violet Red
#11c24a  rgb(17, 194, 74)  hsl(139, 84%, 41%)  Lime Green
#89c211  rgb(137, 194, 17)  hsl(79, 84%, 41%)  Yellow Green
#1189c2  rgb(17, 137, 194)  hsl(199, 84%, 41%)  Steel Blue