#DB02A5

#db02a5 ≈ Medium Violet Red

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

#db02a5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 0.78% green and 64.71% blue; printed in CMYK it uses 0% cyan, 99.09% magenta, 24.66% yellow and 14.12% black. Its hue angle is 314.93°, with 98.19% saturation and 43.33% 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.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #db02a5 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.1782

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

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a85c8b ≈ 0.001% of males
Protanopia #3261a8 ≈ 1.01% of males
Deuteranopia #7480a1 ≈ 1.27% of males
Tritanopia #ea0260 ≈ 0.0001% of males
Protanomaly #954ca7 ≈ 1.08% of males
Deuteranomaly #a765a3 ≈ 4.63% of males
Tritanomaly #e40282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db02a5 {
  color: #db02a5;
}
Background
.bg-db02a5 {
  background-color: #db02a5;
  color: #ffffff;
}
Border
.border-db02a5 {
  border: 2px solid #db02a5;
}
CSS variables
:root {
  --color-primary: #db02a5;
  --color-primary-rgb: 219 2 165;
  --color-primary-hsl: 315 98% 43%;
}
Gradient
.gradient-db02a5 {
  background: linear-gradient(135deg, #db02a5, #db0238);
}
Colored shadow
.shadow-db02a5 {
  box-shadow: 0 8px 24px rgb(219 2 165 / 0.35);
}

Medium Violet Red
#db02a5  rgb(219, 2, 165)  hsl(315, 98%, 43%)  Medium Violet Red
#02db38  rgb(2, 219, 56)  hsl(135, 98%, 43%)  Malachite
#a5db02  rgb(165, 219, 2)  hsl(75, 98%, 43%)  Yellow Green
#02a5db  rgb(2, 165, 219)  hsl(195, 98%, 43%)  Carolina Blue