#DB0798

#db0798 ≈ Medium Violet Red

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

#db0798 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 2.75% green and 59.61% blue; printed in CMYK it uses 0% cyan, 96.8% magenta, 30.59% yellow and 14.12% black. Its hue angle is 318.96°, with 93.81% saturation and 44.31% 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. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #db0798 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.1748

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #a75b84 ≈ 0.001% of males
Protanopia #3c5f9b ≈ 1.01% of males
Deuteranopia #798094 ≈ 1.27% of males
Tritanopia #eb0059 ≈ 0.0001% of males
Protanomaly #974a9a ≈ 1.08% of males
Deuteranomaly #a96596 ≈ 4.63% of males
Tritanomaly #e50077 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db0798 {
  color: #db0798;
}
Background
.bg-db0798 {
  background-color: #db0798;
  color: #ffffff;
}
Border
.border-db0798 {
  border: 2px solid #db0798;
}
CSS variables
:root {
  --color-primary: #db0798;
  --color-primary-rgb: 219 7 152;
  --color-primary-hsl: 319 94% 44%;
}
Gradient
.gradient-db0798 {
  background: linear-gradient(135deg, #db0798, #db072e);
}
Colored shadow
.shadow-db0798 {
  box-shadow: 0 8px 24px rgb(219 7 152 / 0.35);
}

Medium Violet Red
#db0798  rgb(219, 7, 152)  hsl(319, 94%, 44%)  Medium Violet Red
#07db4a  rgb(7, 219, 74)  hsl(139, 94%, 44%)  Malachite
#98db07  rgb(152, 219, 7)  hsl(79, 94%, 44%)  Yellow Green
#0798db  rgb(7, 152, 219)  hsl(199, 94%, 44%)  Carolina Blue