#D412CB

#d412cb ≈ Medium Orchid

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

#d412cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 7.06% green and 79.61% blue; printed in CMYK it uses 0% cyan, 91.51% magenta, 4.25% yellow and 16.86% black. Its hue angle is 302.78°, with 84.35% saturation and 45.1% 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.75:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 7.29.

Description generated from the measured properties of this color.

Conversions of #d412cb 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.1874

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a55fa0 ≈ 0.001% of males
Protanopia #0068cf ≈ 1.01% of males
Deuteranopia #5e80c7 ≈ 1.27% of males
Tritanopia #dd3a78 ≈ 0.0001% of males
Protanomaly #8a53ce ≈ 1.08% of males
Deuteranomaly #9b66c9 ≈ 4.63% of males
Tritanomaly #d92ea0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d412cb {
  color: #d412cb;
}
Background
.bg-d412cb {
  background-color: #d412cb;
  color: #000000;
}
Border
.border-d412cb {
  border: 2px solid #d412cb;
}
CSS variables
:root {
  --color-primary: #d412cb;
  --color-primary-rgb: 212 18 203;
  --color-primary-hsl: 303 84% 45%;
}
Gradient
.gradient-d412cb {
  background: linear-gradient(135deg, #d412cb, #d4126a);
}
Colored shadow
.shadow-d412cb {
  box-shadow: 0 8px 24px rgb(212 18 203 / 0.35);
}

Medium Orchid
#d412cb  rgb(212, 18, 203)  hsl(303, 84%, 45%)  Medium Orchid
#12d41b  rgb(18, 212, 27)  hsl(123, 84%, 45%)  Lime Green
#cbd412  rgb(203, 212, 18)  hsl(63, 84%, 45%)  Pear
#12cbd4  rgb(18, 203, 212)  hsl(183, 84%, 45%)  Dark Turquoise