#D30CA2

#d30ca2 ≈ Medium Violet Red

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

#d30ca2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 4.71% green and 63.53% blue; printed in CMYK it uses 0% cyan, 94.31% magenta, 23.22% yellow and 17.25% black. Its hue angle is 314.77°, with 89.24% saturation and 43.73% 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. White text on this color reaches a contrast ratio of 4.83:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #d30ca2 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.1672

Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a25a88 ≈ 0.001% of males
Protanopia #305fa5 ≈ 1.01% of males
Deuteranopia #6f7c9e ≈ 1.27% of males
Tritanopia #e1115f ≈ 0.0001% of males
Protanomaly #904ba4 ≈ 1.08% of males
Deuteranomaly #a162a0 ≈ 4.63% of males
Tritanomaly #dc0f7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d30ca2 {
  color: #d30ca2;
}
Background
.bg-d30ca2 {
  background-color: #d30ca2;
  color: #ffffff;
}
Border
.border-d30ca2 {
  border: 2px solid #d30ca2;
}
CSS variables
:root {
  --color-primary: #d30ca2;
  --color-primary-rgb: 211 12 162;
  --color-primary-hsl: 315 89% 44%;
}
Gradient
.gradient-d30ca2 {
  background: linear-gradient(135deg, #d30ca2, #d30c3f);
}
Colored shadow
.shadow-d30ca2 {
  box-shadow: 0 8px 24px rgb(211 12 162 / 0.35);
}

Medium Violet Red
#d30ca2  rgb(211, 12, 162)  hsl(315, 89%, 44%)  Medium Violet Red
#0cd33d  rgb(12, 211, 61)  hsl(135, 89%, 44%)  Lime Green
#a2d30c  rgb(162, 211, 12)  hsl(75, 89%, 44%)  Yellow Green
#0ca2d3  rgb(12, 162, 211)  hsl(195, 89%, 44%)  Carolina Blue