#C00FA2

#c00fa2 ≈ Medium Violet Red

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

#c00fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.19% magenta, 15.63% yellow and 24.71% black. Its hue angle is 310.17°, with 85.51% saturation and 40.59% 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.48:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.44.

Description generated from the measured properties of this color.

Conversions of #c00fa2 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.1416

Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #945384 ≈ 0.001% of males
Protanopia #1b59a5 ≈ 1.01% of males
Deuteranopia #5f729e ≈ 1.27% of males
Tritanopia #cb235f ≈ 0.0001% of males
Protanomaly #8046a4 ≈ 1.08% of males
Deuteranomaly #905aa0 ≈ 4.63% of males
Tritanomaly #c71c7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c00fa2 {
  color: #c00fa2;
}
Background
.bg-c00fa2 {
  background-color: #c00fa2;
  color: #ffffff;
}
Border
.border-c00fa2 {
  border: 2px solid #c00fa2;
}
CSS variables
:root {
  --color-primary: #c00fa2;
  --color-primary-rgb: 192 15 162;
  --color-primary-hsl: 310 86% 41%;
}
Gradient
.gradient-c00fa2 {
  background: linear-gradient(135deg, #c00fa2, #c00f4a);
}
Colored shadow
.shadow-c00fa2 {
  box-shadow: 0 8px 24px rgb(192 15 162 / 0.35);
}

Medium Violet Red
#c00fa2  rgb(192, 15, 162)  hsl(310, 86%, 41%)  Medium Violet Red
#0fc02d  rgb(15, 192, 45)  hsl(130, 86%, 41%)  Lime Green
#a2c00f  rgb(162, 192, 15)  hsl(70, 86%, 41%)  Apple Green
#0fa2c0  rgb(15, 162, 192)  hsl(190, 86%, 41%)  Bondi Blue