#D1179B

#d1179b ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d1179b is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 9.02% green and 60.78% blue; printed in CMYK it uses 0% cyan, 89% magenta, 25.84% yellow and 18.04% black. Its hue angle is 317.42°, with 80.17% saturation and 45.49% 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.88:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #d1179b 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.1653

Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a15a84 ≈ 0.001% of males
Protanopia #385e9e ≈ 1.01% of males
Deuteranopia #727c97 ≈ 1.27% of males
Tritanopia #df135d ≈ 0.0001% of males
Protanomaly #904b9d ≈ 1.08% of males
Deuteranomaly #a16299 ≈ 4.63% of males
Tritanomaly #da147a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d1179b {
  color: #d1179b;
}
Background
.bg-d1179b {
  background-color: #d1179b;
  color: #ffffff;
}
Border
.border-d1179b {
  border: 2px solid #d1179b;
}
CSS variables
:root {
  --color-primary: #d1179b;
  --color-primary-rgb: 209 23 155;
  --color-primary-hsl: 317 80% 45%;
}
Gradient
.gradient-d1179b {
  background: linear-gradient(135deg, #d1179b, #d1173e);
}
Colored shadow
.shadow-d1179b {
  box-shadow: 0 8px 24px rgb(209 23 155 / 0.35);
}

Medium Violet Red
#d1179b  rgb(209, 23, 155)  hsl(317, 80%, 45%)  Medium Violet Red
#17d14d  rgb(23, 209, 77)  hsl(137, 80%, 45%)  Malachite
#9bd117  rgb(155, 209, 23)  hsl(77, 80%, 45%)  Yellow Green
#179bd1  rgb(23, 155, 209)  hsl(197, 80%, 45%)  Carolina Blue