#D507A4

#d507a4 ≈ Medium Violet Red

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

#d507a4 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 64.31% blue; printed in CMYK it uses 0% cyan, 96.71% magenta, 23% yellow and 16.47% black. Its hue angle is 314.27°, 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.78:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.7.

Description generated from the measured properties of this color.

Conversions of #d507a4 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.1698

Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a35a89 ≈ 0.001% of males
Protanopia #2e5fa7 ≈ 1.01% of males
Deuteranopia #707da0 ≈ 1.27% of males
Tritanopia #e30f60 ≈ 0.0001% of males
Protanomaly #914ba6 ≈ 1.08% of males
Deuteranomaly #a263a2 ≈ 4.63% of males
Tritanomaly #de0c81 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d507a4  rgb(213, 7, 164)  hsl(314, 94%, 43%)  Medium Violet Red
#07d538  rgb(7, 213, 56)  hsl(134, 94%, 43%)  Lime Green
#a4d507  rgb(164, 213, 7)  hsl(74, 94%, 43%)  Yellow Green
#07a4d5  rgb(7, 164, 213)  hsl(194, 94%, 43%)  Carolina Blue