#DB0FA2

#db0fa2 ≈ Medium Violet Red

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

#db0fa2 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 63.53% blue; printed in CMYK it uses 0% cyan, 93.15% magenta, 26.03% yellow and 14.12% black. Its hue angle is 316.76°, 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.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.88.

Description generated from the measured properties of this color.

Conversions of #db0fa2 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.1801

Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a85d8a ≈ 0.001% of males
Protanopia #3861a5 ≈ 1.01% of males
Deuteranopia #76819e ≈ 1.27% of males
Tritanopia #ea0760 ≈ 0.0001% of males
Protanomaly #964da4 ≈ 1.08% of males
Deuteranomaly #a866a0 ≈ 4.63% of males
Tritanomaly #e40b80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#db0fa2  rgb(219, 15, 162)  hsl(317, 87%, 46%)  Medium Violet Red
#0fdb48  rgb(15, 219, 72)  hsl(137, 87%, 46%)  Malachite
#a2db0f  rgb(162, 219, 15)  hsl(77, 87%, 46%)  Yellow Green
#0fa2db  rgb(15, 162, 219)  hsl(197, 87%, 46%)  Carolina Blue