#C51598

#c51598 ≈ Medium Violet Red

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

#c51598 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 8.24% green and 59.61% blue; printed in CMYK it uses 0% cyan, 89.34% magenta, 22.84% yellow and 22.75% black. Its hue angle is 315.34°, with 80.73% 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.34:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #c51598 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.1467

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #97557f ≈ 0.001% of males
Protanopia #2f599b ≈ 1.01% of males
Deuteranopia #697594 ≈ 1.27% of males
Tritanopia #d2195a ≈ 0.0001% of males
Protanomaly #87479a ≈ 1.08% of males
Deuteranomaly #975d96 ≈ 4.63% of males
Tritanomaly #cd1778 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c51598 {
  color: #c51598;
}
Background
.bg-c51598 {
  background-color: #c51598;
  color: #ffffff;
}
Border
.border-c51598 {
  border: 2px solid #c51598;
}
CSS variables
:root {
  --color-primary: #c51598;
  --color-primary-rgb: 197 21 152;
  --color-primary-hsl: 315 81% 43%;
}
Gradient
.gradient-c51598 {
  background: linear-gradient(135deg, #c51598, #c51540);
}
Colored shadow
.shadow-c51598 {
  box-shadow: 0 8px 24px rgb(197 21 152 / 0.35);
}

Medium Violet Red
#c51598  rgb(197, 21, 152)  hsl(315, 81%, 43%)  Medium Violet Red
#15c542  rgb(21, 197, 66)  hsl(135, 81%, 43%)  Lime Green
#98c515  rgb(152, 197, 21)  hsl(75, 81%, 43%)  Yellow Green
#1598c5  rgb(21, 152, 197)  hsl(195, 81%, 43%)  Bondi Blue