#D017AB

#d017ab ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d017ab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 9.02% green and 67.06% blue; printed in CMYK it uses 0% cyan, 88.94% magenta, 17.79% yellow and 18.43% black. Its hue angle is 312°, with 80.09% saturation and 45.29% 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 6.87.

Description generated from the measured properties of this color.

Conversions of #d017ab 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.1696

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

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a15b8d ≈ 0.001% of males
Protanopia #2861ae ≈ 1.01% of males
Deuteranopia #6b7ca7 ≈ 1.27% of males
Tritanopia #dc2566 ≈ 0.0001% of males
Protanomaly #8d4dad ≈ 1.08% of males
Deuteranomaly #9e63a9 ≈ 4.63% of males
Tritanomaly #d82087 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d017ab {
  color: #d017ab;
}
Background
.bg-d017ab {
  background-color: #d017ab;
  color: #ffffff;
}
Border
.border-d017ab {
  border: 2px solid #d017ab;
}
CSS variables
:root {
  --color-primary: #d017ab;
  --color-primary-rgb: 208 23 171;
  --color-primary-hsl: 312 80% 45%;
}
Gradient
.gradient-d017ab {
  background: linear-gradient(135deg, #d017ab, #d0174e);
}
Colored shadow
.shadow-d017ab {
  box-shadow: 0 8px 24px rgb(208 23 171 / 0.35);
}

Medium Violet Red
#d017ab  rgb(208, 23, 171)  hsl(312, 80%, 45%)  Medium Violet Red
#17d03c  rgb(23, 208, 60)  hsl(132, 80%, 45%)  Lime Green
#abd017  rgb(171, 208, 23)  hsl(72, 80%, 45%)  Yellow Green
#17abd0  rgb(23, 171, 208)  hsl(192, 80%, 45%)  Bondi Blue