#D30CA8

#d30ca8 ≈ Medium Violet Red

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

#d30ca8 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 65.88% blue; printed in CMYK it uses 0% cyan, 94.31% magenta, 20.38% yellow and 17.25% black. Its hue angle is 312.96°, 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.79: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 #d30ca8 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.1694

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a25a8b ≈ 0.001% of males
Protanopia #2a60ab ≈ 1.01% of males
Deuteranopia #6d7da4 ≈ 1.27% of males
Tritanopia #e01a63 ≈ 0.0001% of males
Protanomaly #8f4baa ≈ 1.08% of males
Deuteranomaly #a063a6 ≈ 4.63% of males
Tritanomaly #db1584 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d30ca8  rgb(211, 12, 168)  hsl(313, 89%, 44%)  Medium Violet Red
#0cd337  rgb(12, 211, 55)  hsl(133, 89%, 44%)  Lime Green
#a8d30c  rgb(168, 211, 12)  hsl(73, 89%, 44%)  Yellow Green
#0ca8d3  rgb(12, 168, 211)  hsl(193, 89%, 44%)  Bondi Blue