#D30CA7

#d30ca7 ≈ Medium Violet Red

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

#d30ca7 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.49% blue; printed in CMYK it uses 0% cyan, 94.31% magenta, 20.85% yellow and 17.25% black. Its hue angle is 313.27°, 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.16.

Description generated from the measured properties of this color.

Conversions of #d30ca7 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.169

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

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a25a8a ≈ 0.001% of males
Protanopia #2b60aa ≈ 1.01% of males
Deuteranopia #6d7ca3 ≈ 1.27% of males
Tritanopia #e01862 ≈ 0.0001% of males
Protanomaly #8f4ba9 ≈ 1.08% of males
Deuteranomaly #a062a5 ≈ 4.63% of males
Tritanomaly #db1483 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d30ca7  rgb(211, 12, 167)  hsl(313, 89%, 44%)  Medium Violet Red
#0cd338  rgb(12, 211, 56)  hsl(133, 89%, 44%)  Lime Green
#a7d30c  rgb(167, 211, 12)  hsl(73, 89%, 44%)  Yellow Green
#0ca7d3  rgb(12, 167, 211)  hsl(193, 89%, 44%)  Bondi Blue