#DA02A8

#da02a8 ≈ Medium Violet Red

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

#da02a8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.49% red, 0.78% green and 65.88% blue; printed in CMYK it uses 0% cyan, 99.08% magenta, 22.94% yellow and 14.51% black. Its hue angle is 313.89°, with 98.18% saturation and 43.14% 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.61:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.53.

Description generated from the measured properties of this color.

Conversions of #da02a8 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.1778

Readable text 4.61: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 #a75c8c ≈ 0.001% of males
Protanopia #2e61ab ≈ 1.01% of males
Deuteranopia #7280a4 ≈ 1.27% of males
Tritanopia #e80b62 ≈ 0.0001% of males
Protanomaly #944caa ≈ 1.08% of males
Deuteranomaly #a665a6 ≈ 4.63% of males
Tritanomaly #e30784 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#da02a8  rgb(218, 2, 168)  hsl(314, 98%, 43%)  Medium Violet Red
#02da34  rgb(2, 218, 52)  hsl(134, 98%, 43%)  Malachite
#a8da02  rgb(168, 218, 2)  hsl(74, 98%, 43%)  Yellow Green
#02a8da  rgb(2, 168, 218)  hsl(194, 98%, 43%)  Carolina Blue