#C8118F

#c8118f ≈ Medium Violet Red

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

#c8118f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 6.67% green and 56.08% blue; printed in CMYK it uses 0% cyan, 91.5% magenta, 28.5% yellow and 21.57% black. Its hue angle is 318.69°, with 84.33% 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 5.34:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.03.

Description generated from the measured properties of this color.

Conversions of #c8118f 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.1466

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 #99557b ≈ 0.001% of males
Protanopia #375892 ≈ 1.01% of males
Deuteranopia #6d758b ≈ 1.27% of males
Tritanopia #d60255 ≈ 0.0001% of males
Protanomaly #8a4691 ≈ 1.08% of males
Deuteranomaly #9a5d8d ≈ 4.63% of males
Tritanomaly #d10871 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c8118f  rgb(200, 17, 143)  hsl(319, 84%, 43%)  Medium Violet Red
#11c84a  rgb(17, 200, 74)  hsl(139, 84%, 43%)  Lime Green
#8fc811  rgb(143, 200, 17)  hsl(79, 84%, 43%)  Yellow Green
#118fc8  rgb(17, 143, 200)  hsl(199, 84%, 43%)  Steel Blue