#D40CC7

#d40cc7 ≈ Medium Orchid

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

#d40cc7 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 78.04% blue; printed in CMYK it uses 0% cyan, 94.34% magenta, 6.13% yellow and 16.86% black. Its hue angle is 303.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.68:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 7.75.

Description generated from the measured properties of this color.

Conversions of #d40cc7 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.1838

Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a45e9d ≈ 0.001% of males
Protanopia #0067cb ≈ 1.01% of males
Deuteranopia #5f7fc3 ≈ 1.27% of males
Tritanopia #dd3575 ≈ 0.0001% of males
Protanomaly #8a51c9 ≈ 1.08% of males
Deuteranomaly #9c65c5 ≈ 4.63% of males
Tritanomaly #da2a9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Orchid
#d40cc7  rgb(212, 12, 199)  hsl(304, 89%, 44%)  Medium Orchid
#0cd419  rgb(12, 212, 25)  hsl(124, 89%, 44%)  Lime Green
#c7d40c  rgb(199, 212, 12)  hsl(64, 89%, 44%)  Pear
#0cc7d4  rgb(12, 199, 212)  hsl(184, 89%, 44%)  Dark Turquoise