#C8128E

#c8128e ≈ Medium Violet Red

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

#c8128e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 7.06% green and 55.69% blue; printed in CMYK it uses 0% cyan, 91% magenta, 29% yellow and 21.57% black. Its hue angle is 319.12°, with 83.49% 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 1.82.

Description generated from the measured properties of this color.

Conversions of #c8128e 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 #99557a ≈ 0.001% of males
Protanopia #385891 ≈ 1.01% of males
Deuteranopia #6e758a ≈ 1.27% of males
Tritanopia #d70154 ≈ 0.0001% of males
Protanomaly #8a4690 ≈ 1.08% of males
Deuteranomaly #9a5d8c ≈ 4.63% of males
Tritanomaly #d10970 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c8128e  rgb(200, 18, 142)  hsl(319, 83%, 43%)  Medium Violet Red
#12c84c  rgb(18, 200, 76)  hsl(139, 83%, 43%)  Lime Green
#8ec812  rgb(142, 200, 18)  hsl(79, 83%, 43%)  Yellow Green
#128ec8  rgb(18, 142, 200)  hsl(199, 83%, 43%)  Steel Blue