#D30798

#d30798 ≈ Medium Violet Red

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

#d30798 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 2.75% green and 59.61% blue; printed in CMYK it uses 0% cyan, 96.68% magenta, 27.96% yellow and 17.25% black. Its hue angle is 317.35°, with 93.58% saturation and 42.75% 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.94:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.69.

Description generated from the measured properties of this color.

Conversions of #d30798 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.1627

Readable text 4.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #a15882 ≈ 0.001% of males
Protanopia #365c9b ≈ 1.01% of males
Deuteranopia #727b94 ≈ 1.27% of males
Tritanopia #e20059 ≈ 0.0001% of males
Protanomaly #91489a ≈ 1.08% of males
Deuteranomaly #a26196 ≈ 4.63% of males
Tritanomaly #dc0077 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d30798 {
  color: #d30798;
}
Background
.bg-d30798 {
  background-color: #d30798;
  color: #ffffff;
}
Border
.border-d30798 {
  border: 2px solid #d30798;
}
CSS variables
:root {
  --color-primary: #d30798;
  --color-primary-rgb: 211 7 152;
  --color-primary-hsl: 317 94% 43%;
}
Gradient
.gradient-d30798 {
  background: linear-gradient(135deg, #d30798, #d30732);
}
Colored shadow
.shadow-d30798 {
  box-shadow: 0 8px 24px rgb(211 7 152 / 0.35);
}

Medium Violet Red
#d30798  rgb(211, 7, 152)  hsl(317, 94%, 43%)  Medium Violet Red
#07d342  rgb(7, 211, 66)  hsl(137, 94%, 43%)  Malachite
#98d307  rgb(152, 211, 7)  hsl(77, 94%, 43%)  Yellow Green
#0798d3  rgb(7, 152, 211)  hsl(197, 94%, 43%)  Carolina Blue