#D005A7

#d005a7 ≈ Medium Violet Red

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

#d005a7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 1.96% green and 65.49% blue; printed in CMYK it uses 0% cyan, 97.6% magenta, 19.71% yellow and 18.43% black. Its hue angle is 312.12°, with 95.31% saturation and 41.76% 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.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #d005a7 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.1631

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #a0588a ≈ 0.001% of males
Protanopia #255eaa ≈ 1.01% of males
Deuteranopia #6a7aa3 ≈ 1.27% of males
Tritanopia #dd1862 ≈ 0.0001% of males
Protanomaly #8c4aa9 ≈ 1.08% of males
Deuteranomaly #9d60a5 ≈ 4.63% of males
Tritanomaly #d81283 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d005a7 {
  color: #d005a7;
}
Background
.bg-d005a7 {
  background-color: #d005a7;
  color: #ffffff;
}
Border
.border-d005a7 {
  border: 2px solid #d005a7;
}
CSS variables
:root {
  --color-primary: #d005a7;
  --color-primary-rgb: 208 5 167;
  --color-primary-hsl: 312 95% 42%;
}
Gradient
.gradient-d005a7 {
  background: linear-gradient(135deg, #d005a7, #d00541);
}
Colored shadow
.shadow-d005a7 {
  box-shadow: 0 8px 24px rgb(208 5 167 / 0.35);
}

Medium Violet Red
#d005a7  rgb(208, 5, 167)  hsl(312, 95%, 42%)  Medium Violet Red
#05d02e  rgb(5, 208, 46)  hsl(132, 95%, 42%)  Lime Green
#a7d005  rgb(167, 208, 5)  hsl(72, 95%, 42%)  Yellow Green
#05a7d0  rgb(5, 167, 208)  hsl(192, 95%, 42%)  Bondi Blue