#CA2D87

#ca2d87 ≈ Medium Violet Red

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

#ca2d87 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 17.65% green and 52.94% blue; printed in CMYK it uses 0% cyan, 77.72% magenta, 33.17% yellow and 20.78% black. Its hue angle is 325.61°, with 63.56% saturation and 48.43% 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 4.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.7.

Description generated from the measured properties of this color.

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

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9c5c7a ≈ 0.001% of males
Protanopia #4a5e89 ≈ 1.01% of males
Deuteranopia #777a84 ≈ 1.27% of males
Tritanopia #d91f57 ≈ 0.0001% of males
Protanomaly #904f88 ≈ 1.08% of males
Deuteranomaly #9f6485 ≈ 4.63% of males
Tritanomaly #d3256d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ca2d87  rgb(202, 45, 135)  hsl(326, 64%, 48%)  Medium Violet Red
#2dca70  rgb(45, 202, 112)  hsl(146, 64%, 48%)  Emerald
#87ca2d  rgb(135, 202, 45)  hsl(86, 64%, 48%)  Yellow Green
#2d87ca  rgb(45, 135, 202)  hsl(206, 64%, 48%)  Steel Blue