#DC12DC

#dc12dc ≈ Medium Orchid

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

#dc12dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 86.27% blue; printed in CMYK it uses 0% cyan, 91.82% magenta, 0% yellow and 13.73% black. Its hue angle is 300°, with 84.87% saturation and 46.67% 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 5.16:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 6.7.

Description generated from the measured properties of this color.

Conversions of #dc12dc 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.2082

Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #ac64ac ≈ 0.001% of males
Protanopia #006fe1 ≈ 1.01% of males
Deuteranopia #5b86d8 ≈ 1.27% of males
Tritanopia #e34282 ≈ 0.0001% of males
Protanomaly #8d58df ≈ 1.08% of males
Deuteranomaly #a06ad9 ≈ 4.63% of males
Tritanomaly #e035ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc12dc {
  color: #dc12dc;
}
Background
.bg-dc12dc {
  background-color: #dc12dc;
  color: #000000;
}
Border
.border-dc12dc {
  border: 2px solid #dc12dc;
}
CSS variables
:root {
  --color-primary: #dc12dc;
  --color-primary-rgb: 220 18 220;
  --color-primary-hsl: 300 85% 47%;
}
Gradient
.gradient-dc12dc {
  background: linear-gradient(135deg, #dc12dc, #dc1277);
}
Colored shadow
.shadow-dc12dc {
  box-shadow: 0 8px 24px rgb(220 18 220 / 0.35);
}

Medium Orchid
#dc12dc  rgb(220, 18, 220)  hsl(300, 85%, 47%)  Medium Orchid
#12dc12  rgb(18, 220, 18)  hsl(120, 85%, 47%)  Lime Green
#dcdc12  rgb(220, 220, 18)  hsl(60, 85%, 47%)  Titanium Yellow
#12dcdc  rgb(18, 220, 220)  hsl(180, 85%, 47%)  Medium Turquoise