#DB0FA8

#db0fa8 ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #db0fa8 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.1823

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a85e8d ≈ 0.001% of males
Protanopia #3363ab ≈ 1.01% of males
Deuteranopia #7481a4 ≈ 1.27% of males
Tritanopia #ea1363 ≈ 0.0001% of males
Protanomaly #964eaa ≈ 1.08% of males
Deuteranomaly #a766a6 ≈ 4.63% of males
Tritanomaly #e41284 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#db0fa8  rgb(219, 15, 168)  hsl(315, 87%, 46%)  Medium Violet Red
#0fdb42  rgb(15, 219, 66)  hsl(135, 87%, 46%)  Malachite
#a8db0f  rgb(168, 219, 15)  hsl(75, 87%, 46%)  Yellow Green
#0fa8db  rgb(15, 168, 219)  hsl(195, 87%, 46%)  Carolina Blue