#D503A2

#d503a2 ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #d503a2 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.1682

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a35a88 ≈ 0.001% of males
Protanopia #2f5ea5 ≈ 1.01% of males
Deuteranopia #707d9e ≈ 1.27% of males
Tritanopia #e3075f ≈ 0.0001% of males
Protanomaly #914aa4 ≈ 1.08% of males
Deuteranomaly #a362a0 ≈ 4.63% of males
Tritanomaly #de057f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d503a2  rgb(213, 3, 162)  hsl(315, 97%, 42%)  Medium Violet Red
#03d536  rgb(3, 213, 54)  hsl(135, 97%, 42%)  Lime Green
#a2d503  rgb(162, 213, 3)  hsl(75, 97%, 42%)  Yellow Green
#03a2d5  rgb(3, 162, 213)  hsl(195, 97%, 42%)  Carolina Blue