#CA2A7E

#ca2a7e ≈ Medium Violet Red

  • rose
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ca2a7e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 16.47% green and 49.41% blue; printed in CMYK it uses 0% cyan, 79.21% magenta, 37.62% yellow and 20.78% black. Its hue angle is 328.5°, with 65.57% saturation and 47.84% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.35.

Description generated from the measured properties of this color.

Conversions of #ca2a7e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1572

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9c5b75 ≈ 0.001% of males
Protanopia #4c5c80 ≈ 1.01% of males
Deuteranopia #78797a ≈ 1.27% of males
Tritanopia #da1251 ≈ 0.0001% of males
Protanomaly #904c7f ≈ 1.08% of males
Deuteranomaly #a0637c ≈ 4.63% of males
Tritanomaly #d41e66 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca2a7e {
  color: #ca2a7e;
}
Background
.bg-ca2a7e {
  background-color: #ca2a7e;
  color: #ffffff;
}
Border
.border-ca2a7e {
  border: 2px solid #ca2a7e;
}
CSS variables
:root {
  --color-primary: #ca2a7e;
  --color-primary-rgb: 202 42 126;
  --color-primary-hsl: 329 66% 48%;
}
Gradient
.gradient-ca2a7e {
  background: linear-gradient(135deg, #ca2a7e, #ca2a2e);
}
Colored shadow
.shadow-ca2a7e {
  box-shadow: 0 8px 24px rgb(202 42 126 / 0.35);
}

Medium Violet Red
#ca2a7e  rgb(202, 42, 126)  hsl(329, 66%, 48%)  Medium Violet Red
#2aca76  rgb(42, 202, 118)  hsl(149, 66%, 48%)  Emerald
#7eca2a  rgb(126, 202, 42)  hsl(89, 66%, 48%)  Yellow Green
#2a7eca  rgb(42, 126, 202)  hsl(209, 66%, 48%)  Tufts Blue