#D40CD1

#d40cd1 ≈ Medium Orchid

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

#d40cd1 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 4.71% green and 81.96% blue; printed in CMYK it uses 0% cyan, 94.34% magenta, 1.42% yellow and 16.86% black. Its hue angle is 300.9°, with 89.29% saturation and 43.92% 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. Black text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 7.1.

Description generated from the measured properties of this color.

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

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

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a55fa3 ≈ 0.001% of males
Protanopia #0069d5 ≈ 1.01% of males
Deuteranopia #5980cd ≈ 1.27% of males
Tritanopia #dc3c7b ≈ 0.0001% of males
Protanomaly #8853d4 ≈ 1.08% of males
Deuteranomaly #9a66cf ≈ 4.63% of males
Tritanomaly #d930a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40cd1 {
  color: #d40cd1;
}
Background
.bg-d40cd1 {
  background-color: #d40cd1;
  color: #000000;
}
Border
.border-d40cd1 {
  border: 2px solid #d40cd1;
}
CSS variables
:root {
  --color-primary: #d40cd1;
  --color-primary-rgb: 212 12 209;
  --color-primary-hsl: 301 89% 44%;
}
Gradient
.gradient-d40cd1 {
  background: linear-gradient(135deg, #d40cd1, #d40c6d);
}
Colored shadow
.shadow-d40cd1 {
  box-shadow: 0 8px 24px rgb(212 12 209 / 0.35);
}

Medium Orchid
#d40cd1  rgb(212, 12, 209)  hsl(301, 89%, 44%)  Medium Orchid
#0cd40f  rgb(12, 212, 15)  hsl(121, 89%, 44%)  Lime Green
#d1d40c  rgb(209, 212, 12)  hsl(61, 89%, 44%)  Pear
#0cd1d4  rgb(12, 209, 212)  hsl(181, 89%, 44%)  Dark Turquoise