#D403AF

#d403af ≈ Medium Violet Red

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

#d403af is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 1.18% green and 68.63% blue; printed in CMYK it uses 0% cyan, 98.58% magenta, 17.45% yellow and 16.86% black. Its hue angle is 310.62°, with 97.21% saturation and 42.16% 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.74:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.46.

Description generated from the measured properties of this color.

Conversions of #d403af 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.1716

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #a35a8f ≈ 0.001% of males
Protanopia #1f61b3 ≈ 1.01% of males
Deuteranopia #6a7dab ≈ 1.27% of males
Tritanopia #e11d66 ≈ 0.0001% of males
Protanomaly #8e4cb1 ≈ 1.08% of males
Deuteranomaly #a063ad ≈ 4.63% of males
Tritanomaly #dc1689 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d403af  rgb(212, 3, 175)  hsl(311, 97%, 42%)  Medium Violet Red
#03d428  rgb(3, 212, 40)  hsl(131, 97%, 42%)  Lime Green
#afd403  rgb(175, 212, 3)  hsl(71, 97%, 42%)  Yellow Green
#03afd4  rgb(3, 175, 212)  hsl(191, 97%, 42%)  Moonstone Blue