#C31991

#c31991 ≈ Medium Violet Red

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

#c31991 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 9.8% green and 56.86% blue; printed in CMYK it uses 0% cyan, 87.18% magenta, 25.64% yellow and 23.53% black. Its hue angle is 317.65°, with 77.27% saturation and 43.14% 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 brand accents. White text on this color reaches a contrast ratio of 5.43:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #c31991 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.1434

Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #96557b ≈ 0.001% of males
Protanopia #355894 ≈ 1.01% of males
Deuteranopia #6a738d ≈ 1.27% of males
Tritanopia #d01657 ≈ 0.0001% of males
Protanomaly #864793 ≈ 1.08% of males
Deuteranomaly #965c8f ≈ 4.63% of males
Tritanomaly #cb1773 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c31991 {
  color: #c31991;
}
Background
.bg-c31991 {
  background-color: #c31991;
  color: #ffffff;
}
Border
.border-c31991 {
  border: 2px solid #c31991;
}
CSS variables
:root {
  --color-primary: #c31991;
  --color-primary-rgb: 195 25 145;
  --color-primary-hsl: 318 77% 43%;
}
Gradient
.gradient-c31991 {
  background: linear-gradient(135deg, #c31991, #c3193c);
}
Colored shadow
.shadow-c31991 {
  box-shadow: 0 8px 24px rgb(195 25 145 / 0.35);
}

Medium Violet Red
#c31991  rgb(195, 25, 145)  hsl(318, 77%, 43%)  Medium Violet Red
#19c34b  rgb(25, 195, 75)  hsl(138, 77%, 43%)  Lime Green
#91c319  rgb(145, 195, 25)  hsl(78, 77%, 43%)  Yellow Green
#1991c3  rgb(25, 145, 195)  hsl(198, 77%, 43%)  Bondi Blue