#D40CD6

#d40cd6 ≈ Medium Orchid

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

#d40cd6 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 83.92% blue; printed in CMYK it uses 0.93% cyan, 94.39% magenta, 0% yellow and 16.08% black. Its hue angle is 299.41°, with 89.38% 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. Black text on this color reaches a contrast ratio of 4.82:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 6.88.

Description generated from the measured properties of this color.

Conversions of #d40cd6 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.1912

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a560a6 ≈ 0.001% of males
Protanopia #006ada ≈ 1.01% of males
Deuteranopia #5581d2 ≈ 1.27% of males
Tritanopia #db407e ≈ 0.0001% of males
Protanomaly #8754d9 ≈ 1.08% of males
Deuteranomaly #9966d4 ≈ 4.63% of males
Tritanomaly #d832a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Orchid
#d40cd6  rgb(212, 12, 214)  hsl(299, 89%, 44%)  Medium Orchid
#0ed60c  rgb(14, 214, 12)  hsl(119, 89%, 44%)  Lime Green
#d6d40c  rgb(214, 212, 12)  hsl(59, 89%, 44%)  Citrine
#0cd6d4  rgb(12, 214, 212)  hsl(179, 89%, 44%)  Medium Turquoise