#D40FBF

#d40fbf ≈ Medium Orchid

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

#d40fbf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.88% green and 74.9% blue; printed in CMYK it uses 0% cyan, 92.92% magenta, 9.91% yellow and 16.86% black. Its hue angle is 306.4°, with 86.78% saturation and 44.51% 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.62:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 8.38.

Description generated from the measured properties of this color.

Conversions of #d40fbf 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.181

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a45d99 ≈ 0.001% of males
Protanopia #0065c3 ≈ 1.01% of males
Deuteranopia #647fbb ≈ 1.27% of males
Tritanopia #de3071 ≈ 0.0001% of males
Protanomaly #8c50c1 ≈ 1.08% of males
Deuteranomaly #9e65bd ≈ 4.63% of males
Tritanomaly #da2697 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40fbf {
  color: #d40fbf;
}
Background
.bg-d40fbf {
  background-color: #d40fbf;
  color: #000000;
}
Border
.border-d40fbf {
  border: 2px solid #d40fbf;
}
CSS variables
:root {
  --color-primary: #d40fbf;
  --color-primary-rgb: 212 15 191;
  --color-primary-hsl: 306 87% 45%;
}
Gradient
.gradient-d40fbf {
  background: linear-gradient(135deg, #d40fbf, #d40f5c);
}
Colored shadow
.shadow-d40fbf {
  box-shadow: 0 8px 24px rgb(212 15 191 / 0.35);
}

Medium Orchid
#d40fbf  rgb(212, 15, 191)  hsl(306, 87%, 45%)  Medium Orchid
#0fd424  rgb(15, 212, 36)  hsl(126, 87%, 45%)  Lime Green
#bfd40f  rgb(191, 212, 15)  hsl(66, 87%, 45%)  Pear
#0fbfd4  rgb(15, 191, 212)  hsl(186, 87%, 45%)  Dark Turquoise