#DE06A2

#de06a2 ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #de06a2 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.1827

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #aa5d8a ≈ 0.001% of males
Protanopia #3862a5 ≈ 1.01% of males
Deuteranopia #78829e ≈ 1.27% of males
Tritanopia #ee005f ≈ 0.0001% of males
Protanomaly #984da4 ≈ 1.08% of males
Deuteranomaly #ab67a0 ≈ 4.63% of males
Tritanomaly #e8007f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#de06a2  rgb(222, 6, 162)  hsl(317, 95%, 45%)  Medium Violet Red
#06de42  rgb(6, 222, 66)  hsl(137, 95%, 45%)  Malachite
#a2de06  rgb(162, 222, 6)  hsl(77, 95%, 45%)  Yellow Green
#06a2de  rgb(6, 162, 222)  hsl(197, 95%, 45%)  Carolina Blue