#D507A6

#d507a6 ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #d507a6 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.1705

Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #a35a8a ≈ 0.001% of males
Protanopia #2c5fa9 ≈ 1.01% of males
Deuteranopia #6f7da2 ≈ 1.27% of males
Tritanopia #e31261 ≈ 0.0001% of males
Protanomaly #914ba8 ≈ 1.08% of males
Deuteranomaly #a263a4 ≈ 4.63% of males
Tritanomaly #dd0e82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d507a6  rgb(213, 7, 166)  hsl(314, 94%, 43%)  Medium Violet Red
#07d536  rgb(7, 213, 54)  hsl(134, 94%, 43%)  Lime Green
#a6d507  rgb(166, 213, 7)  hsl(74, 94%, 43%)  Yellow Green
#07a6d5  rgb(7, 166, 213)  hsl(194, 94%, 43%)  Carolina Blue