#DB18A8

#db18a8 ≈ Medium Violet Red

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

#db18a8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 9.41% green and 65.88% blue; printed in CMYK it uses 0% cyan, 89.04% magenta, 23.29% yellow and 14.12% black. Its hue angle is 315.69°, with 80.25% saturation and 47.65% 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.71:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.86.

Description generated from the measured properties of this color.

Conversions of #db18a8 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.1854

Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a95f8d ≈ 0.001% of males
Protanopia #3664ab ≈ 1.01% of males
Deuteranopia #7582a4 ≈ 1.27% of males
Tritanopia #e91b64 ≈ 0.0001% of males
Protanomaly #9650aa ≈ 1.08% of males
Deuteranomaly #a868a6 ≈ 4.63% of males
Tritanomaly #e41a85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db18a8 {
  color: #db18a8;
}
Background
.bg-db18a8 {
  background-color: #db18a8;
  color: #000000;
}
Border
.border-db18a8 {
  border: 2px solid #db18a8;
}
CSS variables
:root {
  --color-primary: #db18a8;
  --color-primary-rgb: 219 24 168;
  --color-primary-hsl: 316 80% 48%;
}
Gradient
.gradient-db18a8 {
  background: linear-gradient(135deg, #db18a8, #db1847);
}
Colored shadow
.shadow-db18a8 {
  box-shadow: 0 8px 24px rgb(219 24 168 / 0.35);
}

Medium Violet Red
#db18a8  rgb(219, 24, 168)  hsl(316, 80%, 48%)  Medium Violet Red
#18db4b  rgb(24, 219, 75)  hsl(136, 80%, 48%)  Malachite
#a8db18  rgb(168, 219, 24)  hsl(76, 80%, 48%)  Yellow Green
#18a8db  rgb(24, 168, 219)  hsl(196, 80%, 48%)  Carolina Blue