#D40887

#d40887 ≈ Medium Violet Red

  • rose
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#d40887 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 3.14% green and 52.94% blue; printed in CMYK it uses 0% cyan, 96.23% magenta, 36.32% yellow and 16.86% black. Its hue angle is 322.65°, with 92.73% saturation and 43.14% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 5.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.5.

Description generated from the measured properties of this color.

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

Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #a25879 ≈ 0.001% of males
Protanopia #415a8a ≈ 1.01% of males
Deuteranopia #787b83 ≈ 1.27% of males
Tritanopia #e5004f ≈ 0.0001% of males
Protanomaly #944689 ≈ 1.08% of males
Deuteranomaly #a56185 ≈ 4.63% of males
Tritanomaly #de006a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40887 {
  color: #d40887;
}
Background
.bg-d40887 {
  background-color: #d40887;
  color: #ffffff;
}
Border
.border-d40887 {
  border: 2px solid #d40887;
}
CSS variables
:root {
  --color-primary: #d40887;
  --color-primary-rgb: 212 8 135;
  --color-primary-hsl: 323 93% 43%;
}
Gradient
.gradient-d40887 {
  background: linear-gradient(135deg, #d40887, #d40821);
}
Colored shadow
.shadow-d40887 {
  box-shadow: 0 8px 24px rgb(212 8 135 / 0.35);
}

Medium Violet Red
#d40887  rgb(212, 8, 135)  hsl(323, 93%, 43%)  Medium Violet Red
#08d455  rgb(8, 212, 85)  hsl(143, 93%, 43%)  Malachite
#87d408  rgb(135, 212, 8)  hsl(83, 93%, 43%)  Yellow Green
#0887d4  rgb(8, 135, 212)  hsl(203, 93%, 43%)  Bleu de France