#CA0F97

#ca0f97 ≈ Medium Violet Red

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

#ca0f97 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 5.88% green and 59.22% blue; printed in CMYK it uses 0% cyan, 92.57% magenta, 25.25% yellow and 20.78% black. Its hue angle is 316.36°, with 86.18% 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.22:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #ca0f97 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.1513

Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9b5680 ≈ 0.001% of males
Protanopia #325a9a ≈ 1.01% of males
Deuteranopia #6c7793 ≈ 1.27% of males
Tritanopia #d80c59 ≈ 0.0001% of males
Protanomaly #8a4799 ≈ 1.08% of males
Deuteranomaly #9b5e95 ≈ 4.63% of males
Tritanomaly #d20d77 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0f97 {
  color: #ca0f97;
}
Background
.bg-ca0f97 {
  background-color: #ca0f97;
  color: #ffffff;
}
Border
.border-ca0f97 {
  border: 2px solid #ca0f97;
}
CSS variables
:root {
  --color-primary: #ca0f97;
  --color-primary-rgb: 202 15 151;
  --color-primary-hsl: 316 86% 43%;
}
Gradient
.gradient-ca0f97 {
  background: linear-gradient(135deg, #ca0f97, #ca0f3a);
}
Colored shadow
.shadow-ca0f97 {
  box-shadow: 0 8px 24px rgb(202 15 151 / 0.35);
}

Medium Violet Red
#ca0f97  rgb(202, 15, 151)  hsl(316, 86%, 43%)  Medium Violet Red
#0fca42  rgb(15, 202, 66)  hsl(136, 86%, 43%)  Lime Green
#97ca0f  rgb(151, 202, 15)  hsl(76, 86%, 43%)  Yellow Green
#0f97ca  rgb(15, 151, 202)  hsl(196, 86%, 43%)  Bondi Blue