#D002AA

#d002aa ≈ Medium Violet Red

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

#d002aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 0.78% green and 66.67% blue; printed in CMYK it uses 0% cyan, 99.04% magenta, 18.27% yellow and 18.43% black. Its hue angle is 311.07°, with 98.1% saturation and 41.18% 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.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.67.

Description generated from the measured properties of this color.

Conversions of #d002aa 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.1636

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #a0588b ≈ 0.001% of males
Protanopia #205ead ≈ 1.01% of males
Deuteranopia #697aa6 ≈ 1.27% of males
Tritanopia #dd1a63 ≈ 0.0001% of males
Protanomaly #8c4aac ≈ 1.08% of males
Deuteranomaly #9d60a8 ≈ 4.63% of males
Tritanomaly #d81385 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d002aa {
  color: #d002aa;
}
Background
.bg-d002aa {
  background-color: #d002aa;
  color: #ffffff;
}
Border
.border-d002aa {
  border: 2px solid #d002aa;
}
CSS variables
:root {
  --color-primary: #d002aa;
  --color-primary-rgb: 208 2 170;
  --color-primary-hsl: 311 98% 41%;
}
Gradient
.gradient-d002aa {
  background: linear-gradient(135deg, #d002aa, #d00243);
}
Colored shadow
.shadow-d002aa {
  box-shadow: 0 8px 24px rgb(208 2 170 / 0.35);
}

Medium Violet Red
#d002aa  rgb(208, 2, 170)  hsl(311, 98%, 41%)  Medium Violet Red
#02d028  rgb(2, 208, 40)  hsl(131, 98%, 41%)  Lime Green
#aad002  rgb(170, 208, 2)  hsl(71, 98%, 41%)  Yellow Green
#02aad0  rgb(2, 170, 208)  hsl(191, 98%, 41%)  Bondi Blue