#DC0FA6

#dc0fa6 ≈ Medium Violet Red

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

#dc0fa6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 65.1% blue; printed in CMYK it uses 0% cyan, 93.18% magenta, 24.55% yellow and 13.73% black. Its hue angle is 315.8°, with 87.23% saturation and 46.08% 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.52.

Description generated from the measured properties of this color.

Conversions of #dc0fa6 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.1831

Readable text 4.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a95e8c ≈ 0.001% of males
Protanopia #3563a9 ≈ 1.01% of males
Deuteranopia #7682a2 ≈ 1.27% of males
Tritanopia #eb0f62 ≈ 0.0001% of males
Protanomaly #974ea8 ≈ 1.08% of males
Deuteranomaly #a967a4 ≈ 4.63% of males
Tritanomaly #e50f83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#dc0fa6  rgb(220, 15, 166)  hsl(316, 87%, 46%)  Medium Violet Red
#0fdc45  rgb(15, 220, 69)  hsl(136, 87%, 46%)  Malachite
#a6dc0f  rgb(166, 220, 15)  hsl(76, 87%, 46%)  Yellow Green
#0fa6dc  rgb(15, 166, 220)  hsl(196, 87%, 46%)  Carolina Blue