#D40EA5

#d40ea5 ≈ Medium Violet Red

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

#d40ea5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.49% green and 64.71% blue; printed in CMYK it uses 0% cyan, 93.4% magenta, 22.17% yellow and 16.86% black. Its hue angle is 314.24°, with 87.61% saturation and 44.31% 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.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.86.

Description generated from the measured properties of this color.

Conversions of #d40ea5 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.1703

Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #a35b8a ≈ 0.001% of males
Protanopia #2e60a8 ≈ 1.01% of males
Deuteranopia #6f7da1 ≈ 1.27% of males
Tritanopia #e21661 ≈ 0.0001% of males
Protanomaly #904ca7 ≈ 1.08% of males
Deuteranomaly #a263a3 ≈ 4.63% of males
Tritanomaly #dc1382 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40ea5 {
  color: #d40ea5;
}
Background
.bg-d40ea5 {
  background-color: #d40ea5;
  color: #ffffff;
}
Border
.border-d40ea5 {
  border: 2px solid #d40ea5;
}
CSS variables
:root {
  --color-primary: #d40ea5;
  --color-primary-rgb: 212 14 165;
  --color-primary-hsl: 314 88% 44%;
}
Gradient
.gradient-d40ea5 {
  background: linear-gradient(135deg, #d40ea5, #d40e42);
}
Colored shadow
.shadow-d40ea5 {
  box-shadow: 0 8px 24px rgb(212 14 165 / 0.35);
}

Medium Violet Red
#d40ea5  rgb(212, 14, 165)  hsl(314, 88%, 44%)  Medium Violet Red
#0ed43d  rgb(14, 212, 61)  hsl(134, 88%, 44%)  Lime Green
#a5d40e  rgb(165, 212, 14)  hsl(74, 88%, 44%)  Yellow Green
#0ea5d4  rgb(14, 165, 212)  hsl(194, 88%, 44%)  Carolina Blue