#C8159F

#c8159f ≈ Medium Violet Red

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

#c8159f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 8.24% green and 62.35% blue; printed in CMYK it uses 0% cyan, 89.5% magenta, 20.5% yellow and 21.57% black. Its hue angle is 313.74°, with 81% saturation and 43.33% 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.17:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.03.

Description generated from the measured properties of this color.

Conversions of #c8159f 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.1532

Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9a5784 ≈ 0.001% of males
Protanopia #2c5ca2 ≈ 1.01% of males
Deuteranopia #68779b ≈ 1.27% of males
Tritanopia #d51e5f ≈ 0.0001% of males
Protanomaly #8849a1 ≈ 1.08% of males
Deuteranomaly #985e9d ≈ 4.63% of males
Tritanomaly #d01b7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c8159f  rgb(200, 21, 159)  hsl(314, 81%, 43%)  Medium Violet Red
#15c83e  rgb(21, 200, 62)  hsl(134, 81%, 43%)  Lime Green
#9fc815  rgb(159, 200, 21)  hsl(74, 81%, 43%)  Yellow Green
#159fc8  rgb(21, 159, 200)  hsl(194, 81%, 43%)  Bondi Blue