#D604AB

#d604ab ≈ Medium Violet Red

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

#d604ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.92% red, 1.57% green and 67.06% blue; printed in CMYK it uses 0% cyan, 98.13% magenta, 20.09% yellow and 16.08% black. Its hue angle is 312.29°, with 96.33% saturation and 42.75% 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.7:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.84.

Description generated from the measured properties of this color.

Conversions of #d604ab 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.1732

Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #a45b8d ≈ 0.001% of males
Protanopia #2761ae ≈ 1.01% of males
Deuteranopia #6e7ea7 ≈ 1.27% of males
Tritanopia #e31764 ≈ 0.0001% of males
Protanomaly #914cad ≈ 1.08% of males
Deuteranomaly #a263a9 ≈ 4.63% of males
Tritanomaly #de1186 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d604ab  rgb(214, 4, 171)  hsl(312, 96%, 43%)  Medium Violet Red
#04d62f  rgb(4, 214, 47)  hsl(132, 96%, 43%)  Lime Green
#abd604  rgb(171, 214, 4)  hsl(72, 96%, 43%)  Yellow Green
#04abd6  rgb(4, 171, 214)  hsl(192, 96%, 43%)  Bondi Blue