#D804AF

#d804af ≈ Medium Violet Red

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

#d804af is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 1.57% green and 68.63% blue; printed in CMYK it uses 0% cyan, 98.15% magenta, 18.98% yellow and 15.29% black. Its hue angle is 311.6°, with 96.36% 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.61:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.53.

Description generated from the measured properties of this color.

Conversions of #d804af 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.1778

Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a65c90 ≈ 0.001% of males
Protanopia #2462b3 ≈ 1.01% of males
Deuteranopia #6e7fab ≈ 1.27% of males
Tritanopia #e51a67 ≈ 0.0001% of males
Protanomaly #924db1 ≈ 1.08% of males
Deuteranomaly #a364ad ≈ 4.63% of males
Tritanomaly #e01489 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d804af {
  color: #d804af;
}
Background
.bg-d804af {
  background-color: #d804af;
  color: #ffffff;
}
Border
.border-d804af {
  border: 2px solid #d804af;
}
CSS variables
:root {
  --color-primary: #d804af;
  --color-primary-rgb: 216 4 175;
  --color-primary-hsl: 312 96% 43%;
}
Gradient
.gradient-d804af {
  background: linear-gradient(135deg, #d804af, #d80445);
}
Colored shadow
.shadow-d804af {
  box-shadow: 0 8px 24px rgb(216 4 175 / 0.35);
}

Medium Violet Red
#d804af  rgb(216, 4, 175)  hsl(312, 96%, 43%)  Medium Violet Red
#04d82d  rgb(4, 216, 45)  hsl(132, 96%, 43%)  Lime Green
#afd804  rgb(175, 216, 4)  hsl(72, 96%, 43%)  June Bud
#04afd8  rgb(4, 175, 216)  hsl(192, 96%, 43%)  Deep Sky Blue