#D42DEC

#d42dec ≈ Medium Orchid

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

#d42dec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 17.65% green and 92.55% blue; printed in CMYK it uses 10.17% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 292.46°, with 83.41% saturation and 55.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 5.39:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #d42dec into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2193

Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a969b6 ≈ 0.001% of males
Protanopia #0075f1 ≈ 1.01% of males
Deuteranopia #4c87e8 ≈ 1.27% of males
Tritanopia #d6588f ≈ 0.0001% of males
Protanomaly #8660ef ≈ 1.08% of males
Deuteranomaly #976eea ≈ 4.63% of males
Tritanomaly #d54abc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d42dec {
  color: #d42dec;
}
Background
.bg-d42dec {
  background-color: #d42dec;
  color: #000000;
}
Border
.border-d42dec {
  border: 2px solid #d42dec;
}
CSS variables
:root {
  --color-primary: #d42dec;
  --color-primary-rgb: 212 45 236;
  --color-primary-hsl: 292 83% 55%;
}
Gradient
.gradient-d42dec {
  background: linear-gradient(135deg, #d42dec, #ec2da5);
}
Colored shadow
.shadow-d42dec {
  box-shadow: 0 8px 24px rgb(212 45 236 / 0.35);
}

Medium Orchid
#d42dec  rgb(212, 45, 236)  hsl(292, 83%, 55%)  Medium Orchid
#45ec2d  rgb(69, 236, 45)  hsl(112, 83%, 55%)  Neon Green
#ecd42d  rgb(236, 212, 45)  hsl(52, 83%, 55%)  Citrine
#2decd4  rgb(45, 236, 212)  hsl(172, 83%, 55%)  Turquoise