#D507A2

#d507a2 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#d507a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 2.75% green and 63.53% blue; printed in CMYK it uses 0% cyan, 96.71% magenta, 23.94% yellow and 16.47% black. Its hue angle is 314.85°, with 93.64% saturation and 43.14% 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 4.79:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.38.

Description generated from the measured properties of this color.

Conversions of #d507a2 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.1691

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a35a88 ≈ 0.001% of males
Protanopia #305fa5 ≈ 1.01% of males
Deuteranopia #717d9e ≈ 1.27% of males
Tritanopia #e30a5f ≈ 0.0001% of males
Protanomaly #914aa4 ≈ 1.08% of males
Deuteranomaly #a363a0 ≈ 4.63% of males
Tritanomaly #de097f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d507a2 {
  color: #d507a2;
}
Background
.bg-d507a2 {
  background-color: #d507a2;
  color: #ffffff;
}
Border
.border-d507a2 {
  border: 2px solid #d507a2;
}
CSS variables
:root {
  --color-primary: #d507a2;
  --color-primary-rgb: 213 7 162;
  --color-primary-hsl: 315 94% 43%;
}
Gradient
.gradient-d507a2 {
  background: linear-gradient(135deg, #d507a2, #d5073b);
}
Colored shadow
.shadow-d507a2 {
  box-shadow: 0 8px 24px rgb(213 7 162 / 0.35);
}

Medium Violet Red
#d507a2  rgb(213, 7, 162)  hsl(315, 94%, 43%)  Medium Violet Red
#07d53a  rgb(7, 213, 58)  hsl(135, 94%, 43%)  Lime Green
#a2d507  rgb(162, 213, 7)  hsl(75, 94%, 43%)  Yellow Green
#07a2d5  rgb(7, 162, 213)  hsl(195, 94%, 43%)  Carolina Blue