#D20FA2

#d20fa2 ≈ Medium Violet Red

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

#d20fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.86% magenta, 22.86% yellow and 17.65% black. Its hue angle is 314.77°, with 86.67% saturation and 44.12% 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.85:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.32.

Description generated from the measured properties of this color.

Conversions of #d20fa2 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.1665

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a15a88 ≈ 0.001% of males
Protanopia #305fa5 ≈ 1.01% of males
Deuteranopia #6f7c9e ≈ 1.27% of males
Tritanopia #e01460 ≈ 0.0001% of males
Protanomaly #8f4ba4 ≈ 1.08% of males
Deuteranomaly #a062a0 ≈ 4.63% of males
Tritanomaly #da1280 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d20fa2 {
  color: #d20fa2;
}
Background
.bg-d20fa2 {
  background-color: #d20fa2;
  color: #ffffff;
}
Border
.border-d20fa2 {
  border: 2px solid #d20fa2;
}
CSS variables
:root {
  --color-primary: #d20fa2;
  --color-primary-rgb: 210 15 162;
  --color-primary-hsl: 315 87% 44%;
}
Gradient
.gradient-d20fa2 {
  background: linear-gradient(135deg, #d20fa2, #d20f40);
}
Colored shadow
.shadow-d20fa2 {
  box-shadow: 0 8px 24px rgb(210 15 162 / 0.35);
}

Medium Violet Red
#d20fa2  rgb(210, 15, 162)  hsl(315, 87%, 44%)  Medium Violet Red
#0fd23f  rgb(15, 210, 63)  hsl(135, 87%, 44%)  Lime Green
#a2d20f  rgb(162, 210, 15)  hsl(75, 87%, 44%)  Yellow Green
#0fa2d2  rgb(15, 162, 210)  hsl(195, 87%, 44%)  Carolina Blue