#D040F6

#d040f6 ≈ Medium Orchid

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

#d040f6 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 25.1% green and 96.47% blue; printed in CMYK it uses 15.45% cyan, 73.98% magenta, 0% yellow and 3.53% black. Its hue angle is 287.47°, with 91% saturation and 60.78% 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.75:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #d040f6 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.2373

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #a970bd ≈ 0.001% of males
Protanopia #007dfb ≈ 1.01% of males
Deuteranopia #498af2 ≈ 1.27% of males
Tritanopia #cf6799 ≈ 0.0001% of males
Protanomaly #846af9 ≈ 1.08% of males
Deuteranomaly #9374f4 ≈ 4.63% of males
Tritanomaly #cf5ac5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d040f6 {
  color: #d040f6;
}
Background
.bg-d040f6 {
  background-color: #d040f6;
  color: #000000;
}
Border
.border-d040f6 {
  border: 2px solid #d040f6;
}
CSS variables
:root {
  --color-primary: #d040f6;
  --color-primary-rgb: 208 64 246;
  --color-primary-hsl: 287 91% 61%;
}
Gradient
.gradient-d040f6 {
  background: linear-gradient(135deg, #d040f6, #f640c1);
}
Colored shadow
.shadow-d040f6 {
  box-shadow: 0 8px 24px rgb(208 64 246 / 0.35);
}

Medium Orchid
#d040f6  rgb(208, 64, 246)  hsl(287, 91%, 61%)  Medium Orchid
#66f640  rgb(102, 246, 64)  hsl(107, 91%, 61%)  Neon Green
#f6d040  rgb(246, 208, 64)  hsl(47, 91%, 61%)  Jonquil
#40f6d0  rgb(64, 246, 208)  hsl(167, 91%, 61%)  Aquamarine