#D012C8

#d012c8 ≈ Medium Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d012c8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 7.06% green and 78.43% blue; printed in CMYK it uses 0% cyan, 91.35% magenta, 3.85% yellow and 18.43% black. Its hue angle is 302.53°, with 84.07% 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.6:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 7.54.

Description generated from the measured properties of this color.

Conversions of #d012c8 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.1801

Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a25d9d ≈ 0.001% of males
Protanopia #0067cc ≈ 1.01% of males
Deuteranopia #5b7ec4 ≈ 1.27% of males
Tritanopia #d83976 ≈ 0.0001% of males
Protanomaly #8751cb ≈ 1.08% of males
Deuteranomaly #9864c6 ≈ 4.63% of males
Tritanomaly #d52e9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Orchid
#d012c8  rgb(208, 18, 200)  hsl(303, 84%, 44%)  Medium Orchid
#12d01a  rgb(18, 208, 26)  hsl(123, 84%, 44%)  Lime Green
#c8d012  rgb(200, 208, 18)  hsl(63, 84%, 44%)  Pear
#12c8d0  rgb(18, 200, 208)  hsl(183, 84%, 44%)  Dark Turquoise