#D104AB

#d104ab ≈ Medium Violet Red

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

#d104ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 1.57% green and 67.06% blue; printed in CMYK it uses 0% cyan, 98.09% magenta, 18.18% yellow and 18.04% black. Its hue angle is 311.12°, with 96.24% 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.87:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.82.

Description generated from the measured properties of this color.

Conversions of #d104ab 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.1658

Readable text 4.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a1598c ≈ 0.001% of males
Protanopia #215fae ≈ 1.01% of males
Deuteranopia #697ba7 ≈ 1.27% of males
Tritanopia #de1b64 ≈ 0.0001% of males
Protanomaly #8c4aad ≈ 1.08% of males
Deuteranomaly #9e61a9 ≈ 4.63% of males
Tritanomaly #d91486 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d104ab {
  color: #d104ab;
}
Background
.bg-d104ab {
  background-color: #d104ab;
  color: #ffffff;
}
Border
.border-d104ab {
  border: 2px solid #d104ab;
}
CSS variables
:root {
  --color-primary: #d104ab;
  --color-primary-rgb: 209 4 171;
  --color-primary-hsl: 311 96% 42%;
}
Gradient
.gradient-d104ab {
  background: linear-gradient(135deg, #d104ab, #d10445);
}
Colored shadow
.shadow-d104ab {
  box-shadow: 0 8px 24px rgb(209 4 171 / 0.35);
}

Medium Violet Red
#d104ab  rgb(209, 4, 171)  hsl(311, 96%, 42%)  Medium Violet Red
#04d12a  rgb(4, 209, 42)  hsl(131, 96%, 42%)  Lime Green
#abd104  rgb(171, 209, 4)  hsl(71, 96%, 42%)  Yellow Green
#04abd1  rgb(4, 171, 209)  hsl(191, 96%, 42%)  Bondi Blue