#D3198C

#d3198c ≈ Medium Violet Red

  • rose
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d3198c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 9.8% green and 54.9% blue; printed in CMYK it uses 0% cyan, 88.15% magenta, 33.65% yellow and 17.25% black. Its hue angle is 322.9°, with 78.81% saturation and 46.27% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 4.9:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #d3198c 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.1644

Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a25a7d ≈ 0.001% of males
Protanopia #435d8f ≈ 1.01% of males
Deuteranopia #787c88 ≈ 1.27% of males
Tritanopia #e30054 ≈ 0.0001% of males
Protanomaly #944a8e ≈ 1.08% of males
Deuteranomaly #a4638a ≈ 4.63% of males
Tritanomaly #dd066f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d3198c {
  color: #d3198c;
}
Background
.bg-d3198c {
  background-color: #d3198c;
  color: #ffffff;
}
Border
.border-d3198c {
  border: 2px solid #d3198c;
}
CSS variables
:root {
  --color-primary: #d3198c;
  --color-primary-rgb: 211 25 140;
  --color-primary-hsl: 323 79% 46%;
}
Gradient
.gradient-d3198c {
  background: linear-gradient(135deg, #d3198c, #d3192f);
}
Colored shadow
.shadow-d3198c {
  box-shadow: 0 8px 24px rgb(211 25 140 / 0.35);
}

Medium Violet Red
#d3198c  rgb(211, 25, 140)  hsl(323, 79%, 46%)  Medium Violet Red
#19d360  rgb(25, 211, 96)  hsl(143, 79%, 46%)  Malachite
#8cd319  rgb(140, 211, 25)  hsl(83, 79%, 46%)  Yellow Green
#198cd3  rgb(25, 140, 211)  hsl(203, 79%, 46%)  Bleu de France