#DF0EA2

#df0ea2 ≈ Medium Violet Red

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

#df0ea2 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.49% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.72% magenta, 27.35% yellow and 12.55% black. Its hue angle is 317.51°, with 88.19% 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.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.32.

Description generated from the measured properties of this color.

Conversions of #df0ea2 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.1861

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #ab5f8b ≈ 0.001% of males
Protanopia #3a63a5 ≈ 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 #e90580 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#df0ea2  rgb(223, 14, 162)  hsl(318, 88%, 46%)  Medium Violet Red
#0edf4b  rgb(14, 223, 75)  hsl(138, 88%, 46%)  Malachite
#a2df0e  rgb(162, 223, 14)  hsl(78, 88%, 46%)  Yellow Green
#0ea2df  rgb(14, 162, 223)  hsl(198, 88%, 46%)  Carolina Blue