#D628A7

#d628a7 ≈ Medium Violet Red

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

#d628a7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 83.92% red, 15.69% green and 65.49% blue; printed in CMYK it uses 0% cyan, 81.31% magenta, 21.96% yellow and 16.08% black. Its hue angle is 316.21°, with 68.5% saturation and 49.8% 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 brand accents. Black text on this color reaches a contrast ratio of 4.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.81.

Description generated from the measured properties of this color.

Conversions of #d628a7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.186

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a6618d ≈ 0.001% of males
Protanopia #3c66aa ≈ 1.01% of males
Deuteranopia #7581a3 ≈ 1.27% of males
Tritanopia #e42b67 ≈ 0.0001% of males
Protanomaly #9454a9 ≈ 1.08% of males
Deuteranomaly #a569a5 ≈ 4.63% of males
Tritanomaly #de2a85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d628a7 {
  color: #d628a7;
}
Background
.bg-d628a7 {
  background-color: #d628a7;
  color: #000000;
}
Border
.border-d628a7 {
  border: 2px solid #d628a7;
}
CSS variables
:root {
  --color-primary: #d628a7;
  --color-primary-rgb: 214 40 167;
  --color-primary-hsl: 316 69% 50%;
}
Gradient
.gradient-d628a7 {
  background: linear-gradient(135deg, #d628a7, #d62850);
}
Colored shadow
.shadow-d628a7 {
  box-shadow: 0 8px 24px rgb(214 40 167 / 0.35);
}

Medium Violet Red
#d628a7  rgb(214, 40, 167)  hsl(316, 69%, 50%)  Medium Violet Red
#28d657  rgb(40, 214, 87)  hsl(136, 69%, 50%)  Malachite
#a7d628  rgb(167, 214, 40)  hsl(76, 69%, 50%)  Yellow Green
#28a7d6  rgb(40, 167, 214)  hsl(196, 69%, 50%)  Carolina Blue