#D307B2

#d307b2 ≈ Medium Violet Red

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

#d307b2 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 69.8% blue; printed in CMYK it uses 0% cyan, 96.68% magenta, 15.64% yellow and 17.25% black. Its hue angle is 309.71°, 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.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.95.

Description generated from the measured properties of this color.

Conversions of #d307b2 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.1722

Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #a35b91 ≈ 0.001% of males
Protanopia #1a61b6 ≈ 1.01% of males
Deuteranopia #687dae ≈ 1.27% of males
Tritanopia #df2369 ≈ 0.0001% of males
Protanomaly #8d4cb4 ≈ 1.08% of males
Deuteranomaly #9f63b0 ≈ 4.63% of males
Tritanomaly #da1b8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#d307b2  rgb(211, 7, 178)  hsl(310, 94%, 43%)  Medium Violet Red
#07d328  rgb(7, 211, 40)  hsl(130, 94%, 43%)  Lime Green
#b2d307  rgb(178, 211, 7)  hsl(70, 94%, 43%)  June Bud
#07b2d3  rgb(7, 178, 211)  hsl(190, 94%, 43%)  Moonstone Blue