#DF0FA2

#df0fa2 ≈ Medium Violet Red

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

#df0fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.27% magenta, 27.35% yellow and 12.55% black. Its hue angle is 317.6°, with 87.39% saturation and 46.67% 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.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.33.

Description generated from the measured properties of this color.

Conversions of #df0fa2 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.1864

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #ab5f8b ≈ 0.001% of males
Protanopia #3b63a5 ≈ 1.01% of males
Deuteranopia #79839e ≈ 1.27% of males
Tritanopia #ef0060 ≈ 0.0001% of males
Protanomaly #9a4ea4 ≈ 1.08% of males
Deuteranomaly #ac68a0 ≈ 4.63% of males
Tritanomaly #e90680 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#df0fa2  rgb(223, 15, 162)  hsl(318, 87%, 47%)  Medium Violet Red
#0fdf4c  rgb(15, 223, 76)  hsl(138, 87%, 47%)  Malachite
#a2df0f  rgb(162, 223, 15)  hsl(78, 87%, 47%)  Yellow Green
#0fa2df  rgb(15, 162, 223)  hsl(198, 87%, 47%)  Carolina Blue