#DE0FA2

#de0fa2 ≈ Medium Violet Red

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

#de0fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.24% magenta, 27.03% yellow and 12.94% black. Its hue angle is 317.39°, with 87.34% saturation and 46.47% 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.7:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.21.

Description generated from the measured properties of this color.

Conversions of #de0fa2 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.1848

Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #aa5e8a ≈ 0.001% of males
Protanopia #3a62a5 ≈ 1.01% of males
Deuteranopia #79829e ≈ 1.27% of males
Tritanopia #ee0260 ≈ 0.0001% of males
Protanomaly #994ea4 ≈ 1.08% of males
Deuteranomaly #ab67a0 ≈ 4.63% of males
Tritanomaly #e80780 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#de0fa2  rgb(222, 15, 162)  hsl(317, 87%, 46%)  Medium Violet Red
#0fde4b  rgb(15, 222, 75)  hsl(137, 87%, 46%)  Malachite
#a2de0f  rgb(162, 222, 15)  hsl(77, 87%, 46%)  Yellow Green
#0fa2de  rgb(15, 162, 222)  hsl(197, 87%, 46%)  Carolina Blue